b3bf6ce896
Documented almost every function of the API, implemented the http request command which is useless since GadgetBridge does not have internet permissions :(
2023-04-09 12:41:38 +02:00
e71c020d97
Implemented the gadget_bridge parser feature as well as a few commands like the music control or the find device phone feature
2023-04-08 22:43:52 +02:00
a9e5589e87
Minor change
2023-04-08 20:04:19 +02:00
Anatole SCHRAMM
74b90f9fee
Finished to define the API, started to implement some of it
2023-04-06 14:27:05 +02:00
anschrammh
34ad38d34a
Started to write the module used to interact/communicate with the gadget bridge Android app.
...
The API will contain functions to send data to the app as well as a parser used to decode and extract data sent from the app.
It will internally use/access the NUS BLE service exposed by the ble_service.c file
2023-04-05 08:03:58 +02:00
anschrammh
3fc2297f17
Updated the nano shell commands to use the new bluetooth modem start API which as the option to set the modem in bluetooth only mode
2023-04-05 07:58:09 +02:00
anschrammh
1faa5b3c84
Aligned ble_modem code with the W800SmartWatch ble modem code, corrected an english mistake in a comment
2023-04-04 08:21:58 +02:00
44edace353
Added new commands to change the CPU clock speed, as well as close the clock to some peripherals in order to make power consumption testing easier on the chip
2023-04-02 21:16:31 +02:00
c04c035a4a
Rephrased comment
2023-03-31 16:09:54 +02:00
anschrammh
d97db47fad
Reworked part of the bluetooth nano shell commands
2023-03-26 22:58:47 +02:00
anschrammh
5387213c06
Now updating the last byte of the bluetooth address if it does not follow the random address specification and updated a few log messages
2023-03-26 22:57:43 +02:00
anschrammh
3faa1162e2
Reworked the timeout waiting for the ble service to stop which was too short
2023-03-26 22:52:47 +02:00
Anatole SCHRAMM
bf6433983b
Corrected missing include + typo
2023-03-14 13:55:39 +01:00
anschrammh
d82cf42191
ble modem is now able to stop the service properly when it's turned of, added more info to the ram usage command in the nano_shell
2023-03-14 08:20:34 +01:00
anschrammh
b3174c8572
Exposed two functions in the nano shell interface to be able to print characters only or plain strings, added new commands regarding ble in the nano shell for testing purposes
2023-03-12 21:52:03 +01:00
anschrammh
ef0660c499
Added ble payload fragmentation handling depending on the current MTU size, added a few other function to interact with the ble service
2023-03-12 21:50:19 +01:00
anschrammh
2854c45848
Reworked a few existing SDK files to prepare for the ble modem and service addon, updated the nano_shell_command by adding new ones around ble
2023-03-11 23:34:02 +01:00
anschrammh
8894eb6744
Added the ble directory exposing a ble_modem and ble_service interface. These source files will be used in the W800SmartWatch project but are tested here
2023-03-11 23:28:38 +01:00
Anatole SCHRAMM
cc468797b3
Now also outputting SDK logs to UART1 pins, corrected an issue raising an error when using the nano_shell and added a workaround to be able to really stop the BT modem. Probably a bug in the SDK or in the chip ?
2023-03-08 14:04:01 +01:00
c10dc0352f
SDK updated
2022-11-01 18:22:10 +01:00