소스 검색

del:去掉定向广播

Dozingfiretruck 5 달 전
부모
커밋
14e8786ad2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/bluetooth/src/luat_lib_ble.c

+ 1 - 1
components/bluetooth/src/luat_lib_ble.c

@@ -461,7 +461,7 @@ static int l_ble_advertising_create(lua_State *L){
         .intv_min = 120,
         .intv_max = 160,
         .adv_type = LUAT_BLE_ADV_TYPE_LEGACY,
-        .adv_prop = LUAT_BLE_ADV_PROP_CONNECTABLE | LUAT_BLE_ADV_PROP_SCANNABLE,
+        .adv_prop = LUAT_BLE_ADV_PROP_CONNECTABLE,
     };
 
     lua_pushstring(L, "addr_mode");