CC2640R2F: Simple_NP Example Project

Part Number: CC2640R2F

Tool/software:

I'm trying to use the HCI_LE_ReadPhyCmd() API in the simple_np project of blestack but it is failing to build. It seems like the definition of this API is not available in this Stack. Is there any way to use this API in Blestack.

  • Hello,

    The HCI_LE_ReadPhyCmd() function is only available in the ble5stack examples and not in the ble(4)stack examples. It is not possible to call this function using the ble4 stack.

    Best Regards,

    Jan

  • Hello,

    The HCI_LE_ReadPhyCmd() function is only available in the ble5stack examples and not in the ble(4)stack examples. It is not possible to call this function using the ble4 stack.

    Best Regards,

    Jan

  • Is there any way, If we shuffle some object files from ble5stack to ble(4) stack to use this feature in ble(4) stack because our current project is based on ble(4) stack, and if we change for ble5stack it will be a huge change on our main firmware side.

  • Hi,

    Unfortunately, the BLE5 and BLE4 stacks function very differently so that will not be possible. To know the current PHY being used, you will need to keep track of it as it changes during a connection.

    Best Regards,

    Jan