Petro Karashchenko
f4d3e549b6
wireless/bluetooth/btsak: fix help messages
...
Currently the help messages use "private" string while code
expects "random".
Remove not needed (CODE void *) cast.
Use 'nitems' macro to calculate number of elements in array
Align output in `btsak_cmd_scanget` command.
Fix style issues
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-06-11 14:09:18 +08:00
chao an
8ad4ae5508
net: fix compiler warning
...
sixlowpan_assocresp.c: In function ‘sixlowpan_assoc_resp’:
sixlowpan_assocresp.c:48:3: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
48 | strncpy(arg.ifr_name, ifname, IFNAMSIZ);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: chao an <anchao@xiaomi.com>
2023-02-08 00:35:39 +08:00
Xiang Xiao
a29d9ea9da
fsutils/examples: Include unistd.h explicitly
...
to get the prototypes or macros are defined in it
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-05 08:46:59 +02:00
Alan C. Assis
1028d5abbe
apps/btask: Fix line feed when there is not advertised data
...
Note the item "4." doesn't appear at right place:
nsh> bt bnep0 scan start
nsh> bt bnep0 scan stop
nsh> bt bnep0 scan get
Scan result:
1. addr: 5a:ae:bd:0b:88:b9 type: 1
rssi: -96
response type: 3
advertiser data: 1e ff 06 00 01 09 20 02 72 36 18 d5 2c 3f 38 e5
fd a5 49 f8 3c e8 a9 f8 15 a8 0e 20 ea 51 02
2. addr: f3:d5:9a:7f:79:54 type: 1
rssi: -61
response type: 0
advertiser data: 02 01 06 05 03 0a 18 e7 fe 0b ff 34 12 fe e7 f3
d5 9a 7f 79 54 05 09 44 4b 30 38
3. addr: f3:d5:9a:7f:79:54 type: 1
rssi: -61
response type: 4
advertiser data: 4. addr: e8:b4:9f:83:66:fd type: 1
rssi: -96
response type: 0
advertiser data: 02 01 1e 0a ff 75 00 01 00 02 00 01 03 02 03 19
c0 00
5. addr: 38:6d:34:58:86:6d type: 1
rssi: -92
response type: 3
advertiser data: 1e ff 06 00 01 09 20 02 e7 45 ff 96 96 eb 1a e8
aa 18 cf 37 04 d3 f9 00 28 98 67 97 8a ce 84
nsh>
2021-10-21 23:31:41 -05:00
Alin Jerpelea
c726646010
wireless: nxstyle fixes
...
fixes for the style errors reported by nxstyle
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-09 22:08:10 -05:00
Alin Jerpelea
ab60df94a2
wireless: bluetooth: btsak: update licenses to Apache
...
Gregory Nutt is has submitted the SGA
Sebastien Lorquet has submitted the ICLA
as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-09 22:08:10 -05:00
Lwazi Dube
a3c8f17522
apps/wireless/bluetooth/btsak/btsak_scan.c: Fix reversed address
2018-12-17 11:20:16 -06:00
Gregory Nutt
816311b5df
apps/wireless/bluetooth/btsak: Update include to account for new location of Bluetooth header files.
2018-04-29 12:44:03 -06:00
Gregory Nutt
938a9b9125
apps/wireless/bluetooth/btsak: Add a README file.
2018-04-21 12:18:17 -06:00
Gregory Nutt
8a0e690483
apps/wireless/bluetooth/btsak: Clean-up for changes to IOCTL defintions; Add GATT read/write comments. Stell need commands to get the result of the read/write operations.
2018-04-21 09:45:50 -06:00
Gregory Nutt
f78e3dc136
wireless/bluetooth/btsak: Removed bogus name from structure. This was left over from a previous change and had me confused for awhile.
2018-04-19 09:24:19 -06:00
Gregory Nutt
c40cf98468
wireless/bluetooth/btsak: Cosmetic improvements to printf output.
2018-04-18 13:27:27 -06:00
Gregory Nutt
c46b441d2c
wires/bluetooth/btsak: Add command to get BR/EDR and LE features.
2018-04-06 16:24:05 -06:00
Gregory Nutt
8a33912d5d
apps/wireless/bluetooth/btsak: Fix numerous error that crept in with the last commits.
2018-04-06 11:48:19 -06:00
Gregory Nutt
ef23beca7c
apps/wireless/bluetooth/btsak: Update for changes made to IOCTL commands.
2018-04-06 09:43:29 -06:00
Gregory Nutt
bd77fae5ce
apps/wireless/bluetooth/btsak: Implement command to enable Bluetooth security.
2018-04-02 17:40:41 -06:00
Gregory Nutt
e34216fe35
apps/examples/bluetooth/btsak: Remove some garbage left in clones files; Do proper initialization of IOCTL structure used to start advertising.
2018-04-02 14:43:57 -06:00
Gregory Nutt
ffa7e52674
apps/wireless/bluetooth/btsak: Add initial implementation of adverise commands.
2018-04-02 14:20:53 -06:00
Gregory Nutt
bc5dd0efc5
apps/wireless/bluetooth/btsak: Add initial implementation of scan commands.
2018-04-02 13:05:09 -06:00