Petro Karashchenko
9480c0ec12
include: fix double include pre-processor guards
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-01-16 17:36:21 +08: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
Alin Jerpelea
ec339bc49a
Makefiles: Gregory Nutt: update licenses to Apache
...
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
YAMAMOTO Takashi
75758c17b4
wireless/bluetooth/btsak/btsak_gatt.c: Fix a printf format warning
2020-11-13 05:51:23 -08:00
YAMAMOTO Takashi
e18fe2050f
wireless/bluetooth/btsak/btsak_gatt.c: Appease nxstyle
2020-11-13 05:51:23 -08:00
Brennan Ashton
d38351cfd0
nxstyle: Fixup existing long lines
2020-08-29 14:04:44 -06:00
Brennan Ashton
14c6d976fc
Bluetooth: Use the new l2cap socket address type
2020-08-29 14:04:44 -06:00
Maciej Wójcik
21049ece6e
Rewritten READMEs to Markdown
2020-07-25 01:01:51 -07:00
Maciej Wójcik
51e6645f71
Rename README and README.txt to README.md
2020-07-25 01:01:51 -07:00
Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Xiang Xiao
69f013e74e
build: Remve the unnecessary .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Gregory Nutt
fcc688e771
wireless/bluetooth/btsak/btsak_security.c: Fix long lines for nxstyle.
2020-04-29 17:50:24 +01:00
Gregory Nutt
9e5d57f492
wireless/bluetooth/btsak/btsak_security.c: Fix newline character
...
Inspired by Abdelatif's find, here are other cases where /n was used when \n ws intended
2020-04-29 17:50:24 +01:00
YAMAMOTO Takashi
e7156be066
Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
...
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2020-03-27 02:43:11 -05:00
Xiang Xiao
1511403fdf
Revert "Don't generate .depend anymore"
...
This reverts commit cc5ad09caa
.
2020-03-22 23:09:40 -05:00
Xiang Xiao
cc5ad09caa
Don't generate .depend anymore
2020-03-22 18:15:21 +00:00
Xiang Xiao
7808eb62d2
apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path.
2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147
Makefiles: This reverts part of commit cf0365ea9
. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured.
2019-10-15 09:25:48 +08:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Xiang Xiao
cf0365ea92
Clean up Makefile under apps folder no functional changes.
2019-10-04 08:35:46 -06:00
Nathan Hartman
3a75edca20
Fix minor typo/copy-paste: 'will be use when'->'will be used when'
2019-08-23 11:59:28 -06:00
Lwazi Dube
a3c8f17522
apps/wireless/bluetooth/btsak/btsak_scan.c: Fix reversed address
2018-12-17 11:20:16 -06:00
Lwazi Dube
c8a252d4ed
apps/wireless/bluetooth/btsak: Remove unnecessary gatt get commands
2018-12-08 13:02:19 -06:00
Lwazi Dube
09a108b507
apps/wireless/bluetooth/btsak: Add connect and disconnect commands to btsak
2018-12-02 11:01:28 -06:00
Lwazi Dube
2b8685b63f
wireless/bluetooth/btsak/btsak_main.c: Fix address parsing
2018-11-30 06:28:36 -06:00
Lwazi Dube
6af45bdee0
wireless/bluetooth/btsak: Fix some errors in btsak
2018-11-27 08:02:43 -06:00
Lwazi
d927f50e79
apps/wireless/bluetooth/btsak: 'bt bnep0 info' outputs a reversed addr. It should print BDAddr: aa:bb:cc:dd:ee:ff instead of BDAddr: ff:ee:dd:cc:bb:aa
2018-11-25 09:54:09 -06:00
anchao
b5cfd93444
apps/: Modification to build system: Unified application compilation rules
2018-09-03 09:29:56 -06:00
anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
a57610c2c4
Remove trailing spaces at the end of lines.
2018-08-13 07:47:26 -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
141abff299
apps/wireless/bluetooth/btsak: Add commands to get the result of GATT read and write operations.
2018-04-21 10:23:02 -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
99479aa8d9
wireless/bluetooth/btsak: Add commdands to support MTU exchange.
2018-04-19 15:52:26 -06:00
Gregory Nutt
b2a6a6b5d4
apps/wireless/bluetooth/btsak: Adds a command to get the results of the GATT discovery.
2018-04-19 13:21:54 -06:00
Gregory Nutt
6c14b97d70
apps/wireless/bluetooth/btsak: Implements GATT discover commands.
2018-04-19 13:02:20 -06:00
Gregory Nutt
9078b066b6
wireless/bluetooth/btsak: Correct format of help for GATT commands.
2018-04-19 09:24:19 -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
0be2f16e3f
apps/wireless/bluetooth/btsak: Correct output of the 'features' command.
2018-04-06 17:18:53 -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
8a2fb2f66c
apps/wireless/bluetooth/btsak: Add an 'info' command.
2018-04-06 10:40:35 -06:00
Gregory Nutt
ef23beca7c
apps/wireless/bluetooth/btsak: Update for changes made to IOCTL commands.
2018-04-06 09:43:29 -06:00