5

I'm trying to send a json string over BLE, but, like the json has more than 20 bytes, I've to send multiple packets of 20 bytes.

I've read all posts that I've found. Some examples:

All posts contain similar information. In the first post are implemented some functions, but:

  • What are "BLE.INITIAL_MESSAGE_PACKET" and BLE.DEFAULT_BYTES_IN_CONTINUE_PACKET" variables? where is the declaration of each one?
  • Where is the "sendingLastPacket(characteristic, initial_packet, CHARACTERS)" function?
  • On the receptor side, how can I merge all packets that the transmitter has sent?

I haven't found any information about this problemas.. can anyone help me?

Community
  • 1
  • 1
adlagar
  • 877
  • 10
  • 31

0 Answers0