/* Send a request to start or stop the PTA.  */
sl_status_t sl_wfx_pta_state(uint32_t pta_state)
/* Send a request to start or stop the PTA.  */
sl_status_t sl_wfx_pta_state(uint32_t pta_state)
{
  sl_status_t result;
  sl_wfx_pta_state_req_body_t payload;
  payload.pta_state = sl_wfx_htole32(pta_state);
  result = sl_wfx_send_command(SL_WFX_PTA_STATE_REQ_ID, &payload, sizeof(payload), SL_WFX_STA_INTERFACE, NULL);
  return result;
}