Uplink and downlink encoding and decoding issues

As far as I know, lora’s uplink and downlink are encoded and decoded by base64. In this case, can I send floating-point numbers?
In addition, for the downlink data, I found that most of the examples are sending a single byte of data downstream. Does Chirpstack support sending multi-byte data? Is there a limit?

Base64 is just a way to encode a (slice of) byte(s) as text. It does not limit you in what to send or the number of bytes you want to send. If you want to send a float, then the logical steps would be:

  • Encode the float to bytes
  • Encode these bytes to base64