-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hoi Jörgen,
Inmiddels de V2 geprobeerd en mijn Tacx weigert te verbinden. Ik heb in nimconfig eerst FMTS geprobeerd toen kwam er helemaal geen reactie en toen ik die uitgezet had en Tacx FEC aan, kreeg ik dezelfde reactie terug van de Tacx als eerder met deze code "esp32_Test_Tacx_FE-C_over_BLE_v20".
Hopelijk kun je me op een spoor zetten om dit op te lossen.
Groetjes
Jan-Willem Bouwman
#ifndef CONFIG_NIMBLE_H_
#define CONFIG_NIMBLE_H_
// ----------------------------------------------------------------------------------------
// Uncomment to allow/enable the MITM transfer of FiTness Machine Service data from trainer
// to training App directly. Bluetooth Smart FTMS: This is the industry standard for apps
// controlling the trainer via Bluetooth Smart, and includes power and cadence baked in.
// NOTICE --> NOT all (legacy) trainers support FTMS!!!
//#define ENABLE_FTMS
// ----------------------------------------------------------------------------------------
// Uncomment to allow/enable the MITM transfer of Tacx FE-C (Fitness Equipment Cycling) data
// from trainer to training App directly.
// FE-C ANT+ over Bluetooth: This is Tacx’s (legacy) proprietary method of controlling Tacx
// trainers, and includes power and speed/cadence data – still supported by Zwift a.o.
// NOTICE --> Most pre-2020 Tacx trainers support this instead of FTMS!!!
#define ENABLE_TACXFEC
Hieronder de output:
11:52:58.030 -> Initialize Display!
11:52:58.030 -> NO display to initialize...
11:52:58.287 -> -------------- MITM ----------------
11:52:58.287 -> Board: Adafruit Feather ESP32 V2
11:52:58.287 -> Display: NO Display
11:52:58.287 -> Library: 1.0.1
11:52:58.287 -> NimBLE: CPS and FTMS
11:52:58.287 -> Initialize Operations!
11:52:58.287 -> Get Simcline settings Max: 22000 Min: 19500 Perc.: 100 Displ.: 2
11:52:58.321 -> Get NimBLE settings Trainer MAC Address: [D2:C2:F2:42:97:BA 1]
11:52:58.359 -> Get NimBLE settings Laptop MAC Address: [00:00:00:00:00:00 0]
11:52:58.359 -> --> Unknown device is allowed to connect!
11:52:58.359 -> Create Central Control Loop!
11:52:58.359 -> Starting NimBLE MITM!
11:52:58.359 -> Initializing the ServerSide
11:52:58.619 -> Preferred connection MTU succesfully set to: 255
11:52:58.619 -> Configuring the default Generic Access Service
11:52:58.619 -> Configuring the Server Device Information Service
11:52:58.619 -> Configuring the Server Cycle Power Service
11:52:58.619 -> Server CPS Control Point Indicate-Response Task created!
11:52:58.619 -> Configuring the Server Nordic Uart Service
11:52:58.619 -> Configuring the Server Cadence and Speed Service
11:52:58.619 -> Configuring the Server Fitness Equipment Cycling Service
11:52:58.651 -> Server is setup and started!
11:52:58.651 -> Setting up advertising payload(s)
11:52:58.651 -> Setting Service in Advertised data to [CPS]
11:52:58.651 -> Setting Service in Scan Response to [FEC]
11:52:58.651 -> Setting Appearance in Advertised data to [1152]
11:52:58.651 -> Setting DeviceName in Advertised data to [SIM32]
11:52:58.651 -> Setting TxPower in Advertised data
11:52:58.651 -> Client Starts Scanning for Peripheral (Trainer) with CPS!
11:52:58.683 -> Found advertising Peripheral with Device Name: Tacx Neo 2T 25596 Mac Address: [D2:C2:F2:42:97:BA 1]
11:52:59.344 -> >>> Failed to connect Peripheral (Trainer)!
11:52:59.615 -> Client Disconnected from Peripheral (Trainer) with Name: [MyTrainer] Mac Address: [D2:C2:F2:42:97:BA 1]
11:53:08.752 -> Server is advertising!