AnsweredAssumed Answered

Why does UART example use dual Central+Peripheral roles?

Question asked by David Lion on Sep 23, 2019
Latest reply on Sep 24, 2019 by Sebastián Del Río

Hello,

     I am coming from the Nordic nrf51/52 world, and trying to understand the QN908sdk.

     Why does the QN908x sdk UART example use simultaneous central/peripheral for the two-channels, putting one characteristic each on the phone and the QN908x?

     This means there are two connections, and two GATT servers.  By contrast, the nRF5sdk has a UART example which places both rx and tx characteristics on the btle-device, which operates as peripheral-only.  One connection, one GATT server.

     I can get the QN908x sdk example to work just fine, but I'm trying to understand why such a design might be desirable.  

     Thanks!

 

-dav lion

Outcomes