@@ -120,7 +120,7 @@ C = Checksum
120120
121121### Firmware
122122We are looking for
123- ```
123+ ``` console
12412450 41 43 4B BC 16 09 00 40 01 00 00 4F 41 44 20 (PACK¼ �@��OAD)
125125```
126126
@@ -134,7 +134,7 @@ shifterware.bin
134134batteryware.bin
135135
136136
137- ```
137+ ``` console
1381380x0002000 ?
1391390x005A000 BLE Secrets (60)
1401400x005af80 M-ID/M-KEY (60)
@@ -204,22 +204,22 @@ READ AND DECODE LOGS
204204### Some Communication from the Bike to the VanMoof Backend via self-signed Certs.
205205
206206The Backend only supports
207- ``` aiignore
207+ ``` console
208208Hexcode Cipher Suite Name (OpenSSL) KeyExch. Encryption Bits Cipher Suite Name (IANA/RFC)
209209 x3c AES128-SHA256 RSA AES 128 TLS_RSA_WITH_AES_128_CBC_SHA256
210210```
211211
212212The uuid is without dashes, 32chars, numbers and chars. No duplication checking.
213213dist is in Kilometers with hectometer. So 5,5 kilometers become 55 here.
214- responds with result true.
215- ```
214+ responds with result true.
215+ ``` console
216216curl -vk https://bikecomm.vanmoof.com/ping-response \
217217-H "Content-Type: application/json" \
218218-d '{"guid":"UUID","statistics":{"batt":95,"mac":"MAC","swv":"1.6.8","dist":37154}}'
219219```
220220
221221Message Type(s) unknown
222- ```
222+ ``` console
223223curl -vk https://bikecomm.vanmoof.com/bike-message
224224-H "Content-Type: application/json"
225225-d '{"mac_address":"MAC","message_type":"","message_data":""}'
@@ -228,7 +228,7 @@ curl -vk https://bikecomm.vanmoof.com/bike-message
228228/upload expects ublox Data. => InvalidUBloxDataException
229229
230230### m2m.vanmoof.com (SMS the bike sends)
231- ```
231+ ``` console
232232ALARM_BMS_REMOVED
233233SET_SHIPPING
234234START_FROM_SHIPPING
@@ -309,7 +309,7 @@ Press ESC on the UART (Debug) Port until the MCU (Microcontroller) reboots and h
309309STM32 bootloader <1.09> Muco Technologies (c)2019
310310```
311311
312- ```
312+ ``` console
313313For more information on a specific command, type HELP command-name
314314help This tekst
315315ver Software version
@@ -431,7 +431,7 @@ setoad test
431431setgear save muco shifter
432432```
433433
434- ``` aiignore
434+ ``` console
435435ver
436436ES3.0 Main 1.08.02
437437ES3 boot 1.09
@@ -442,7 +442,7 @@ GSMWare
442442CMD_BLE_MAC F8:8A:5E:4F:9E:CB
443443```
444444
445- ``` aiignore
445+ ``` console
446446show
447447 < I/O >
448448Botton_Left 0
@@ -508,7 +508,7 @@ ride change: No
508508bike state 20
509509```
510510
511- ``` aiignore
511+ ``` console
512512battery
513513BAT_ID 0x0
514514FAULT 0x0
@@ -566,7 +566,7 @@ SCP 0
566566
567567Enter the BLE Chip shell with bledebug then execute reset to get this output:
568568
569- ``` aiignore
569+ ``` console
570570Connect to UART8
571571reset
572572Mon Feb 17 20:00:34 2025: Platform reset
@@ -587,8 +587,7 @@ systick .................... : 30316279
587587Type 'help' for a list of all available commands.
588588```
589589
590- ``` aiignore
591-
590+ ``` console
592591> help
593592The following commands are available:
594593
@@ -628,15 +627,15 @@ The following commands are available:
628627 help - show all monitor commands
629628```
630629
631- ```
630+ ``` console
632631> extflash-verify
633632Flash type : MX25L51245G
634633Device size (Mbyte): 64
635634SW status register write protection: y
636635Block write-protection enabled : n
637636```
638637
639- ``` aiignore
638+ ``` console
640639> pack-process
641640Sat Jan 1 00:55:04 2000: invalid pack content
642641Processing pakfs, expect a small startup delay because of mainware erasing its shadowflash, which blocks all serial I/O
@@ -646,29 +645,29 @@ Processing pakfs, expect a small startup delay because of mainware erasing its s
646645ES3 v1.08.02
647646```
648647
649- ``` aiignore
648+ ``` console
650649> ble-info
651650number of connections: 0/3
652651Device address: cb:9e:4f:5e:94:f8
653652```
654653
655- ``` aiignore
654+ ``` console
656655> ble-erase-all-bonds
657656```
658657
659- ``` aiignore
658+ ``` console
660659> pack-delete
661660Deleting PACK archive...
662661Erase pack progress <99%>
663662Done
664663```
665664
666- ``` aiignore
665+ ``` console
667666> pack-upload
668667CCCCCCYModem successfully received 595968 bytes for file "pack.bin"
669668```
670669
671- ```
670+ ``` console
672671> pack-list
673672Scanning PACK archive..
674673 217,884 bytes bleware.bin
@@ -678,13 +677,13 @@ Scanning PACK archive..
678677 83,940 bytes batteryware.bin
679678```
680679
681- ```
680+ ``` console
682681> log-flush
683682Done erasing logs
684683```
685684
686685
687- ``` aiignore
686+ ``` console
688687> pack-process
689688Processing pakfs, expect a small startup delay because of mainware erasing its shadowflash, which blocks all serial I/O
690689
@@ -762,7 +761,7 @@ Wake Reason: WAKE_SRC_BUTTON_1 WAKE_SRC_MEMS WAKE_KICKLOCK
762761ES3 v1.01.15
763762```
764763
765- ``` aiignore
764+ ``` console
766765shipping
767766Set shipping mode
76876701/00:24:53 BIKE_SHIPPING
@@ -784,12 +783,12 @@ No MOTOR_SLEEP_MODE from motor 0x0404
784783```
785784
786785### To save the distance i put the bike into shipping. That saved the distance into eeprom.
787- ``` aiignore
786+ ``` console
788787distance 0
789788Set 0.0 Km
790789```
791790
792- ``` aiignore
791+ ``` console
793792factory-shipping
794793Set factory shipping mode
795794BLE remove id 112 nr 5C
0 commit comments