Dear NXP helpdesk,
I would like to change the BLE mode to BLE Long Range (125Kbps) in the Wireless UART example of the KW38 FRDM board.
Could you please guide me on the changes need to be applied?
Regards
Nader
Solved! Go to Solution.
Thanks @Gavin_Jia .
In the same .h file, there is also the following:
typedef enum {
gLePhy1M_c = 0x01U, /*!< Tx/Rx Phy on the connection is LE 1M */
gLePhy2M_c = 0x02U, /*!< Tx/Rx Phy on the connection is LE 2M */
gLePhyCoded_c = 0x03U, /*!< Tx/Rx Phy on the connection is LE Coded */
} gapLePhyMode_tag;
Does this need to be changed for LE Long Range (125Kbps)?
Also, what/where exactly do I need to change in the code to set the RX and TX into LE Long Range (125Kbps)?
Cheers,
Nader
Hello @ArianRF
Hope you are doing well.
To configure the CodedPhy, you can try the following modifications in the ble_conn_manager.h
Please, test your application with these changes and let me know your findings.
Regards,
Eduardo.
Hi @ArianRF ,
Please refer to this enum struct in ble_general.h:
/*! Le Phys Options Preferences flags. */
typedef enum {
gLeCodingNoPreference_c = 0x00U, /*!< Host has no preference on the LE Coded Phy */
gLeCodingS2_c = 0x01U, /*!< Host prefers to use S=2 on the LE Coded Phy */
gLeCodingS8_c = 0x02U, /*!< Host prefers to use S=8 on the LE Coded Phy */
} gapLePhyOptionsFlags_t;
This one “S=8”, means Coded Phy@125Kbps.
Hope it could be helpful.
Our colleague Eduardo is supporting the ticket, and he'll follow up this.
Best regards,
Gavin