I'm trying to implement a simulator that mimics a physical device that uses BLE to transmit messages. Whenever it receives a write request, it'll send an initial response (0xFFFF...), then the actual response (0x7F1002...). However, I'm only able to send 1 response with my Bleno implementation currently. How can I implement it to send both?
Further, if I need to send a response with more than 20 bytes, how can I do so with Bleno? I've gone through the examples, but not quite sure what I should be looking for.
I'm trying to implement a simulator that mimics a physical device that uses BLE to transmit messages. Whenever it receives a write request, it'll send an initial response (0xFFFF...), then the actual response (0x7F1002...). However, I'm only able to send 1 response with my Bleno implementation currently. How can I implement it to send both?
Further, if I need to send a response with more than 20 bytes, how can I do so with Bleno? I've gone through the examples, but not quite sure what I should be looking for.