line-simplebeacon-esp32
line-simplebeacon-esp32 copied to clipboard
Arduino code for LINE Simple Beacon work with ESP32
LINE Simple Beacon for ESP32
Arduino code for LINE Simple Beacon work with ESP32
Requirements
- Arduino IDE
- ESP32-DevKitC
- Micro-USB to USB Cable
- Create a channel on the LINE Developers console
Installation
Please ensure you have Arduino IDE installed and the board disconnected.
- Open Arduino IDE
- Go into Preferences
- Add
https://dl.espressif.com/dl/package_esp32_index.json
as an 'Additional Board Manager URL' - Go to Boards Manager from the Tools -> Board menu
- Search for esp32 and install esp32.
- Download and install the CP2102 driver
Setup
- Connect the ESP32-DevKitC board via Micro-USB cable to your computer
- Go into Tools -> Board and select ESP32 Dev Module from the list
- Under Tools -> Port select the appropriate device ie. COM1, /dev/cu.SLAB_USBtoUART
- Test uploading to the board by uploading an empty sketch to make sure there are no issues.
-
Issue LINE Simple Beacon Hardware ID
If you can not find your channel in new LINE Official Account Manager Beacon Register, you can try to register at old LINE@ Manager Beacon Register.
![]()
![]()
Upload
- From this repository, open sample/sample.ino
- Change the
HWID
to your generated HWID. - Adjust the signal length
- Upload and Enjoy!
Reference
- https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/src/BLEBeacon.h
- https://github.com/linedevth/LINE-Simple-Beacon-ESP32
- https://github.com/godda/LINE_Simple_Beacon_ESP32
- https://medium.com/@chawanwitpoolsri/line-beacon-from-esp32-node32-lite-72c0fc7dc646
- https://engineering.linecorp.com/ja/blog/detail/149/
- https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/bluetooth/index.html
LICENSE
MIT