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

[nRF51822] How iOS7 apps can transmit/receive binray data?

Hi In ble uart project, the data is used string format. Now, we want to modify uart apps to tx/rx binary format. Could you tell us how to modify the uart apps? Thanks.

Jeffery

Parents
  • HI,Jeffery

    Actually, there are no saying about what kind of data you send to/from app, because all data transmit in BLE are in form of byte. Which means: if you want to send a uint16_t data, you actually just send 2 bytes to app. And the string is just the same.

    I suggest you to refer the app example "Sensor Tag" created by TI company, which sends data in form of byte, and then you can find the difference between those two example and find out where to modify your code.

Reply
  • HI,Jeffery

    Actually, there are no saying about what kind of data you send to/from app, because all data transmit in BLE are in form of byte. Which means: if you want to send a uint16_t data, you actually just send 2 bytes to app. And the string is just the same.

    I suggest you to refer the app example "Sensor Tag" created by TI company, which sends data in form of byte, and then you can find the difference between those two example and find out where to modify your code.

Children
No Data
Related