1.1.1.4.4 PTA Software Design Information

  • PTA APIs in BLE_Stack library: Two APIs are designed in BLE_Stack library.
    • BT_SYS_PtaInit: It is called within APP_PtaInit() to enable BLE stack PTA feature.
    • BT_SYS_PtaWlanActiveIrqHandler: It is called within APP_PtaWlanActiveIrqHandler() to handle WLAN_ACTIVE signal.
  • MCC configuration: Below MCC configurations will apply when BLE MCC component PTA option is enabled.
    • Modify GPIO MCC configuration to fit PTA pin definition.
    • Including app_pta_handler.c and app_pta_handler.h to project.
    • Generate application template code to call APP_PtaInit() in APP_BleStackInitAdvance().
  • BT Request priority design: Except for the BT device is scanning for advertising packets or RSSI measurements for channel classification, others BT activities are high priority.