Hi all,
I have a question about the peripheral library BLE2Peripheral v1. I followed the tutorial from Erel here https://www.b4x.com/android/forum/threads/ble-peripheral.84051/
I have tested it and it's working well (thanks you for this). But what I want to do is simulating an existing device I have and on the peripheral side, I cannot change anything :
It creates a service (UUID = 0001) with two characteristics:
ReadChar (1001) - Other devices should subscribe for notifications on this characteristics.
WriteChar (1002) - Other devices can write to this characteristic.
I want to create my own service with my own UUID and own characteristics inside. I guess it's hard coded in the library or in Peripheral_start() method, so how can I change it or redefine it ? If it's not possible with this library, what can be a solution ?
Thank you !
I have a question about the peripheral library BLE2Peripheral v1. I followed the tutorial from Erel here https://www.b4x.com/android/forum/threads/ble-peripheral.84051/
I have tested it and it's working well (thanks you for this). But what I want to do is simulating an existing device I have and on the peripheral side, I cannot change anything :
It creates a service (UUID = 0001) with two characteristics:
ReadChar (1001) - Other devices should subscribe for notifications on this characteristics.
WriteChar (1002) - Other devices can write to this characteristic.
I want to create my own service with my own UUID and own characteristics inside. I guess it's hard coded in the library or in Peripheral_start() method, so how can I change it or redefine it ? If it's not possible with this library, what can be a solution ?
Thank you !