This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How can I send data more than 4bytes in BLE

I followed this tutorial :Bluetooth low energy Characteristics, a beginner's tutorial

i am beginner to study BLE.

I wanna the answer Challenge 1:Why are you not allowed to write more than four bytes to your characteristic and how can you fix it?

i got data from sensor value through ble on my phone. but it can get only 4 bytes data.

please advise for me the problem.

thank you

Parents
  •  Challenge 1:Why are you not allowed to write more than four bytes to your characteristic and how can you fix it?

    Is that a homework question?

    In general, there is no reason why a Characteristic should not allow writing more than 4 bytes.

    So the reason must be something to do with the particular Characteristic that you've been given for your homework.

    As we have no idea what that is, we can't help other than to suggest that you review your class notes and find the part where it explains how that Characteristic's size was set ...

Reply
  •  Challenge 1:Why are you not allowed to write more than four bytes to your characteristic and how can you fix it?

    Is that a homework question?

    In general, there is no reason why a Characteristic should not allow writing more than 4 bytes.

    So the reason must be something to do with the particular Characteristic that you've been given for your homework.

    As we have no idea what that is, we can't help other than to suggest that you review your class notes and find the part where it explains how that Characteristic's size was set ...

Children
Related