Why does UART example use dual Central+Peripheral roles?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Why does UART example use dual Central+Peripheral roles?

782件の閲覧回数
david_lion
Contributor I

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

ラベル(1)
0 件の賞賛
1 返信

688件の閲覧回数
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi David, I hope you're doing well!

 

The demo application is showing the capabilities of the QN9080, specifically, the fact that it can work both roles, as central and as a peripheral device, simultaneously.

 

For a more detailed explanation on how this example application works, could you please take a look at the BLE Demo Applications User's Guide included in the QN9080's SDK?

 

<…\SDK_2.2.0_QN908XCDK\docs\wireless\Bluetooth\BLE Demo Applications User's Guide.pdf>

 

Please let me know if you have any further questions.

 

Best regards,

Sebastian

0 件の賞賛