Lines Matching refs:msg
28 btc_msg_t msg; in esp_blufi_send_wifi_conn_report() local
33 msg.sig = BTC_SIG_API_CALL; in esp_blufi_send_wifi_conn_report()
34 msg.pid = BTC_PID_BLUFI; in esp_blufi_send_wifi_conn_report()
35 msg.act = BTC_BLUFI_ACT_SEND_CFG_REPORT; in esp_blufi_send_wifi_conn_report()
41 return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy, in esp_blufi_send_wifi_conn_report()
47 btc_msg_t msg; in esp_blufi_send_wifi_list() local
52 msg.sig = BTC_SIG_API_CALL; in esp_blufi_send_wifi_list()
53 msg.pid = BTC_PID_BLUFI; in esp_blufi_send_wifi_list()
54 msg.act = BTC_BLUFI_ACT_SEND_WIFI_LIST; in esp_blufi_send_wifi_list()
58 return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy, in esp_blufi_send_wifi_list()
64 btc_msg_t msg; in esp_blufi_profile_init() local
68 msg.sig = BTC_SIG_API_CALL; in esp_blufi_profile_init()
69 msg.pid = BTC_PID_BLUFI; in esp_blufi_profile_init()
70 msg.act = BTC_BLUFI_ACT_INIT; in esp_blufi_profile_init()
72 … return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL); in esp_blufi_profile_init()
77 btc_msg_t msg; in esp_blufi_profile_deinit() local
81 msg.sig = BTC_SIG_API_CALL; in esp_blufi_profile_deinit()
82 msg.pid = BTC_PID_BLUFI; in esp_blufi_profile_deinit()
83 msg.act = BTC_BLUFI_ACT_DEINIT; in esp_blufi_profile_deinit()
85 … return (btc_transfer_context(&msg, NULL, 0, NULL, NULL) == BT_STATUS_SUCCESS ? ESP_OK : ESP_FAIL); in esp_blufi_profile_deinit()
95 btc_msg_t msg; in esp_blufi_send_error_info() local
100 msg.sig = BTC_SIG_API_CALL; in esp_blufi_send_error_info()
101 msg.pid = BTC_PID_BLUFI; in esp_blufi_send_error_info()
102 msg.act = BTC_BLUFI_ACT_SEND_ERR_INFO; in esp_blufi_send_error_info()
105 …return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), NULL, NULL) == BT_STATUS_SUCCES… in esp_blufi_send_error_info()
110 btc_msg_t msg; in esp_blufi_send_custom_data() local
117 msg.sig = BTC_SIG_API_CALL; in esp_blufi_send_custom_data()
118 msg.pid = BTC_PID_BLUFI; in esp_blufi_send_custom_data()
119 msg.act = BTC_BLUFI_ACT_SEND_CUSTOM_DATA; in esp_blufi_send_custom_data()
123 return (btc_transfer_context(&msg, &arg, sizeof(btc_blufi_args_t), btc_blufi_call_deep_copy, in esp_blufi_send_custom_data()