Support for Intelino Smart Train
See original GitHub issueHello,
I have a hard time connecting to Intelino Smart Train.
martin@bono:~$ scratch_link
2021-12-24 21:06:48,682 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/qk78wey4.Default User
2021-12-24 21:06:48,689 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/qk78wey4.Default User
2021-12-24 21:06:48,703 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/qk78wey4.Default User/chrome_debugger_profile
2021-12-24 21:06:48,712 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/qb752b1e.ff75
2021-12-24 21:06:48,719 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/u16lwrru.default
2021-12-24 21:06:48,727 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/fq9mqhp8.Martin
2021-12-24 21:06:48,974 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/no8dwo1j.Default User
2021-12-24 21:06:48,983 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/jmegri7g.p1
2021-12-24 21:06:48,991 Certificate is ready in FireFox NSS DB: /home/martin/.mozilla/firefox/ya14x5g6.temp
2021-12-24 21:06:48,999 Certificate is ready for Chrome
2021-12-24 21:06:49,016 Started scratch-link
2021-12-24 21:06:56,467 Start session for web socket path: /scratch/ble
2021-12-24 21:07:06,878 Can not scan BLE devices. Check BLE controller.
martin@bono:~$ bluetoothctl
Agent registered
[CHG] Controller 40:74:E0:9F:B6:B2 Pairable: yes
[bluetooth]# devices
Device 00:A0:50:B6:45:0E intelino J-1
Device 50:81:D8:01:8A:13 Sony PLAYSTATION(R)3 Controller
Device 98:D3:31:FB:14:F7 HC-06
Device 30:21:03:00:04:85 Creative T100
Device 20:1B:88:14:AD:70 Mi True Wireless EBs Basic 2
Device 34:88:5D:3F:5D:38 Bluetooth Mouse M557
Device 00:1B:FB:C3:8C:64 Sony PLAYSTATION(R)3 Controller
Device 20:01:08:00:A9:32 Escape 220
Device 74:51:BA:ED:0C:A5 Mi Phone
[bluetooth]# connect 00:A0:50:B6:45:0E
Attempting to connect to 00:A0:50:B6:45:0E
[CHG] Device 00:A0:50:B6:45:0E Connected: yes
Connection successful
[NEW] Primary Service (Handle 0x8746)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service000a
00001801-0000-1000-8000-00805f9b34fb
Generic Attribute Profile
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service000a/char000b
00002a05-0000-1000-8000-00805f9b34fb
Service Changed
[NEW] Descriptor (Handle 0xf360)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service000a/char000b/desc000d
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Primary Service (Handle 0x80f0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service000e
0000180a-0000-1000-8000-00805f9b34fb
Device Information
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service000e/char000f
00002a24-0000-1000-8000-00805f9b34fb
Model Number String
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service000e/char0011
00002a25-0000-1000-8000-00805f9b34fb
Serial Number String
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service000e/char0013
00002a26-0000-1000-8000-00805f9b34fb
Firmware Revision String
[NEW] Primary Service (Handle 0x80f0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0015
0000180f-0000-1000-8000-00805f9b34fb
Battery Service
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0015/char0016
00002a19-0000-1000-8000-00805f9b34fb
Battery Level
[NEW] Descriptor (Handle 0x7360)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0015/char0016/desc0018
00002904-0000-1000-8000-00805f9b34fb
Characteristic Format
[NEW] Descriptor (Handle 0x7360)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0015/char0016/desc0019
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Primary Service (Handle 0x80f0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service001a
00060000-f8ce-11e4-abf4-0002a5d5c51b
Vendor specific
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service001a/char001b
00060001-f8ce-11e4-abf4-0002a5d5c51b
Vendor specific
[NEW] Descriptor (Handle 0x76a0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service001a/char001b/desc001d
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Descriptor (Handle 0x76a0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service001a/char001b/desc001e
00002901-0000-1000-8000-00805f9b34fb
Characteristic User Description
[NEW] Primary Service (Handle 0x80f0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service001f
43dfd9e9-17e5-4860-803d-9df8999b0d7a
Vendor specific
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service001f/char0020
40c540d0-344c-4d0d-a1da-9cc260b82d43
Vendor specific
[NEW] Descriptor (Handle 0x77a0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service001f/char0020/desc0022
00002901-0000-1000-8000-00805f9b34fb
Characteristic User Description
[NEW] Primary Service (Handle 0x80f0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0023
4dad4922-5c86-4ba7-a2e1-0f240537bd08
Vendor specific
[NEW] Characteristic (Handle 0x75eb)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0023/char0024
a4b80869-a84c-4160-a3e0-72fa58ff480e
Vendor specific
[NEW] Descriptor (Handle 0x7aa0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0023/char0024/desc0026
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Descriptor (Handle 0x7aa0)
/org/bluez/hci0/dev_00_A0_50_B6_45_0E/service0023/char0024/desc0027
00002901-0000-1000-8000-00805f9b34fb
Characteristic User Description
[CHG] Device 00:A0:50:B6:45:0E ServicesResolved: yes
Pairing doesn’t work. Probably the train is not pairable.
[bluetooth]# pair 00:A0:50:B6:45:0E
Attempting to pair with 00:A0:50:B6:45:0E
[CHG] Device 00:A0:50:B6:45:0E Connected: yes
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device 00:A0:50:B6:45:0E Connected: no
Using https://scratch.intelino.com/
I can connect to the device
Issue Analytics
- State:
- Created 2 years ago
- Comments:21 (8 by maintainers)
Top Results From Across the Web
intelino | Official Site and Online Store
Intuitive and fun, just like a familiar toy train. Interactive and intelligent, powered by innovative robotic tech. Discover why this award-winning robot train...
Read more >intelino support portal
Looking for help with intelino smart train? Find here common questions and support documentation.
Read more >train and accessories - Intelino
intelino J-1 Smart Train Starter Set · intelino Track Extension Pack · intelino Wooden Track Adapter Kit · Short Track Pack · Bridge...
Read more >Connecting to the Train - intelino support portal
The intelino smart train uses Bluetooth Smart (BLE) technology to wirelessly communicate with smart phone and tablet devices.
Read more >Devices - Intelino
Below are the smart device compatibility requirements for supporting intelino smart train and its companion app. Bluetooth Smart (4.0+) support is required ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just a comment after looking into your node.js implementation. Oh, it uses DBus interface to communicate with bluetooth side. It’s simple and looks stable. Hmm, that could be an option for pyscrlink future improvement.
Yep it would be good to create an issue in scratch-link-ble-linux for the discussion. My two cents on WeDo and EV3: WeDo is a BLE device, then it’s worth trying with scratch-link-ble-linux. On the other hand, Lego EV3 is not a BLE device, but a BT device. Scratch-link-ble-linux looks dedicated to BLE devices at this moment, so EV3 will not work. To support EV3, some more work will be required for scratch-link-ble-linux to support BT Peripheral Protocol.