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

Best method for send raw frames

Hi,

My goal is to send raw frames to some external device which is not nRF BLE example but commercial used device.

It is using some fixed service with fixed UUID and I need to send predetermined data to get answer.

Could You help me with choosing proper sd_ functions for sending and receiving data?

Regards,

Artur

Parents Reply Children
  • It is some door lock but I do not know if I can specify which one.

    It uses BLE and I have got documentation.

    I am making central device and lock will be used as peripheral device.

    I cannot load in lock my own firmware, I need to work with it as is. 

    I was able to find proper UUID after scan_request and connect with it, now my goal is to send some data.

    I just need to send some data after connection, is there any API function for sending any frame?

  • The whole point of a standard like BLE is that the comms is standardised - using the standard mechanisms of Services, Characteristics, etc.

    So you need to discover what are the Services, Characteristics, etc on this lock, and how are they used.

    Then it just becomes a standard task of using those Services, Characteristics, etc

Related