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

How do I write record to RACP in glucose Service from Android application?

Hi All,

I wanted to write a patient record to glucode measurement charateristics from android Phone which supportes BLE features . How do i write a record to BLE device(GATT server) from android application .

I have gone through the BLE specification and found that Record Access Control Point will be Writeable with Authentication . So BLE device supports writing records to BLE Device from android app.

Can you please suggest me how to do this ?

For Example i have 10 records in BLE device I wanted to erase those and i wanted to add new 20 records to BLE device from android device to GATT server .

Please suggest me any example .

Thanks in Advance

Parents
  • Hi Raja,

    As far as I understand RACP is defined writable is to receive the commands from the central (phone ) to the peripheral (nRF51) to either "Report number of Stored Records" or "Delete Stored Records" or "Report Stored Records" or "Abort Operation". There is no defined command or procedure to write the Record back from the central to the peripheral.

    If you want you can define that to handle a proprietary command to write record from the phone. But it will be proprietary procedure.

Reply
  • Hi Raja,

    As far as I understand RACP is defined writable is to receive the commands from the central (phone ) to the peripheral (nRF51) to either "Report number of Stored Records" or "Delete Stored Records" or "Report Stored Records" or "Abort Operation". There is no defined command or procedure to write the Record back from the central to the peripheral.

    If you want you can define that to handle a proprietary command to write record from the phone. But it will be proprietary procedure.

Children
Related