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

gazell more device question

SDK 9.0 nRF51 PCA10028 I want use nRF51 gazell function one host multi device. Reference example code "gzp_dynamic_pairing",host and device can auto pairing . But in host example code I can't find any function to get device "ID" or "address" information,only can chang PIPE to send and receive. So, host how to differentiate receive data from which device?

  • @Paul: There should be only one slave on one pipe when talking with the host. So you should manage the slave by the pipe. If you want to transmit data back to slave, you should use the ACK payload and send it to the correspondent pipe.

  • Thank you for your answer . So which API can get pairing information? I can use pairing information to assign slave device pipe.

  • @paul: I'm sorry that I misunderstood you were asking about gazel link layer. On gazel pairing we don't really support multiple encrypted link. So only one pipe is used for encrypted data. You can use other pipe but as normal gazel link layer.

    It would not be very straight forward to modify the library to support multiple pairing pipes, mainly because gazell was not made for such application. It was initially made for HID application where usually only the keyboard need to be paired.

    I would suggest you to implementing your own encryption solution on top of the gazel link layer library or the enhanced shockburst library.

  • My application is 1 host 8 device don't need encrypted data and host can send/receive to individual device(all device has same fw). gazell function can do it?? So how to do?? 我需要功能為 1 host 8 device (8個device FW是相同的). host 可以個別傳送及接收 device的資料且不需要加密.Gazell 功能可以做到嗎? 有那些資訊可以提供

  • If you don't need encryption, you can use Gazel link layer. It supports up to 8 peripheral concurrently.

    You may not be able to use exact same firmware on all 8 device, because each device must use a separated address, so you would need to hardcode the correct address of each pipe (of the host) on the correspondent device.

    We already provided an example at \examples\proprietary_rf\gzll\gzll_ack_payload in the SDK. The address is configured as default address. You may need to modify the address if you want to test with more than one device.

Related