firmware merge requestshttps://git.flow3r.garden/card10/firmware/-/merge_requests2019-08-23T10:15:24Zhttps://git.flow3r.garden/card10/firmware/-/merge_requests/196ble: card10 svc - personal state2019-08-23T10:15:24Zgenofireble: card10 svc - personal state#112#112Hauke MehrtensHauke Mehrtenshttps://git.flow3r.garden/card10/firmware/-/merge_requests/186feat(ble): Read the advertised device name from a file2019-08-24T12:04:42ZJannis Riegerfeat(ble): Read the advertised device name from a fileThe user can change the advertised BLE name of their card10 by writing the name in a "device_name.txt" file.The user can change the advertised BLE name of their card10 by writing the name in a "device_name.txt" file.Hauke MehrtensHauke Mehrtenshttps://git.flow3r.garden/card10/firmware/-/merge_requests/181Ble file trans const init2019-08-22T14:52:39ZHauke MehrtensBle file trans const initDo it like the card10 service.Do it like the card10 service.genofiregenofirehttps://git.flow3r.garden/card10/firmware/-/merge_requests/176BLE: card10: Indicate Write without response2019-08-22T13:20:33ZHauke MehrtensBLE: card10: Indicate Write without responseThe code does not handle write with response and the Android APP alos
does not send a response. Fix the advertisement.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>The code does not handle write with response and the Android APP alos
does not send a response. Fix the advertisement.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>https://git.flow3r.garden/card10/firmware/-/merge_requests/161ble-uart: Prevent buffer overflow2019-08-21T19:13:40Zrahixcard10@rahix.deble-uart: Prevent buffer overflowFor messages with lines longer than 129 characters, ble_uart_write would
start overwriting adjacent memory. This commit fixes this by starting a
new line once the buffer runs full.For messages with lines longer than 129 characters, ble_uart_write would
start overwriting adjacent memory. This commit fixes this by starting a
new line once the buffer runs full.schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/152BLE: FileTrans: Create a directory if needed2019-08-21T21:29:03ZHauke MehrtensBLE: FileTrans: Create a directory if neededWhen a file should be created in a non existing folder, it will now be
automatically created.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>When a file should be created in a non existing folder, it will now be
automatically created.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/151ble: card10 svc - rewrite2019-08-22T15:02:21Zgenofireble: card10 svc - rewritefixed #84fixed #84Hauke MehrtensHauke Mehrtenshttps://git.flow3r.garden/card10/firmware/-/merge_requests/141WIP: Pycardium ble2021-01-26T09:19:02ZHauke MehrtensWIP: Pycardium bleThis adds support for BLE from MicroPython
This is not finished yet and untested.This adds support for BLE from MicroPython
This is not finished yet and untested.https://git.flow3r.garden/card10/firmware/-/merge_requests/136Fixes issue #71 - BTLE advertisements post disconnection of device to card10...2019-08-20T22:15:40ZDanukeru (Paul)Fixes issue #71 - BTLE advertisements post disconnection of device to card10...Fixes issue #71 - BTLE advertisements post disconnection of device to cacard10 are Military Grade Encrypted (TM)Fixes issue #71 - BTLE advertisements post disconnection of device to cacard10 are Military Grade Encrypted (TM)schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/123fix(ble): Increase output power to 0 dBm2019-08-20T06:04:33Zschneiderfix(ble): Increase output power to 0 dBmCloses #2Closes #2https://git.flow3r.garden/card10/firmware/-/merge_requests/115Workaround for lockup issue2019-08-19T13:28:36Zrahixcard10@rahix.deWorkaround for lockup issueDelaying BLE startup by a bit seems to resolve the lockup issue we
observed. This might need further attention in the future.Delaying BLE startup by a bit seems to resolve the lockup issue we
observed. This might need further attention in the future.schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/106ble: add permission to card10 svc2019-08-18T23:29:32Zgenofireble: add permission to card10 svc**Warning: i do not test it with real hardware, yet (miss it)****Warning: i do not test it with real hardware, yet (miss it)**schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/105ble: improve current state of card10 svc2019-08-15T21:21:01Zgenofireble: improve current state of card10 svc- change uuid to firmware schema
- fix link to docu
- add permission to characteristics
---
**Warning: i do not test it with real hardware, yet (miss it)**- change uuid to firmware schema
- fix link to docu
- add permission to characteristics
---
**Warning: i do not test it with real hardware, yet (miss it)**schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/102change(ble): Add Time Update service2019-08-16T19:52:36ZHauke Mehrtenschange(ble): Add Time Update serviceThis adds BLE a characteristic which allows to set the current time. The
time is set in milliseconds since 1.1.1970 as 64 bit value.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>This adds BLE a characteristic which allows to set the current time. The
time is set in milliseconds since 1.1.1970 as 64 bit value.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/99change(ble): Increase MTU to 241 bytes2019-08-15T21:50:06ZHauke Mehrtenschange(ble): Increase MTU to 241 bytesBy default the MTU is set to 23 bytes, use 241 bytes instead to make the
UART and file transfer service more efficient. The MTU also contains
some BLE headers and is not only the usable data.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m...By default the MTU is set to 23 bytes, use 241 bytes instead to make the
UART and file transfer service more efficient. The MTU also contains
some BLE headers and is not only the usable data.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/94fix(ble): Do not try to schedule 0 tick WSF timers2019-08-15T21:06:57Zschneiderfix(ble): Do not try to schedule 0 tick WSF timershttps://git.flow3r.garden/card10/firmware/-/merge_requests/93feat(ble): Only allow "secure" pairings2019-08-15T14:39:37Zschneiderfeat(ble): Only allow "secure" pairingsI hope this will only allow MITM protected pairings.I hope this will only allow MITM protected pairings.schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/89ble: card10 srv - v22019-08-19T16:49:35Zgenofireble: card10 srv - v2- [x] 11 rgb leds at once
- [x] background rgb leds
- [x] powersafe
- [x] flashlight
- [x] need pairing
- validating
- [x] dim
- [x] rockets
- [x] bg leds
- [x] leds above
- [x] vibra
- [x] 11 rgb leds at once
- [x] background rgb leds
- [x] powersafe
- [x] flashlight
- [x] need pairing
- validating
- [x] dim
- [x] rockets
- [x] bg leds
- [x] leds above
- [x] vibra
schneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/87ble: add card10 service with basic function2019-08-15T11:03:28Zgenofireble: add card10 service with basic function- read light sensor
- set vibra for ms
- set rocket leds- read light sensor
- set vibra for ms
- set rocket ledsschneiderschneiderhttps://git.flow3r.garden/card10/firmware/-/merge_requests/78BLE: Add file transfer2019-08-15T22:20:43ZHauke MehrtensBLE: Add file transferThis adds basic file transfer support of files over BLE.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>This adds basic file transfer support of files over BLE.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>schneiderschneider