https://github.com/taichunmin/line-simplebeacon-esp32
Arduino code for LINE Simple Beacon work with ESP32
https://github.com/taichunmin/line-simplebeacon-esp32
arduino esp32 linesimplebeacon
Last synced: 8 months ago
JSON representation
Arduino code for LINE Simple Beacon work with ESP32
- Host: GitHub
- URL: https://github.com/taichunmin/line-simplebeacon-esp32
- Owner: taichunmin
- License: mit
- Created: 2019-06-03T03:58:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T08:07:27.000Z (almost 5 years ago)
- Last Synced: 2025-03-29T20:51:09.361Z (9 months ago)
- Topics: arduino, esp32, linesimplebeacon
- Language: C++
- Size: 16.6 KB
- Stars: 27
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LINE Simple Beacon for ESP32
Arduino code for LINE Simple Beacon work with ESP32
## Requirements
* [Arduino IDE](https://www.arduino.cc/en/Main/Software)
* [ESP32-DevKitC](https://www.espressif.com/en/products/hardware/esp32-devkitc/overview)
* Micro-USB to USB Cable
* [Create a channel on the LINE Developers console](https://developers.line.biz/en/docs/messaging-api/getting-started/)
## Installation
Please ensure you have Arduino IDE installed and the board **disconnected**.
1. Open Arduino IDE
2. Go into **Preferences**
3. Add `https://dl.espressif.com/dl/package_esp32_index.json` as an 'Additional Board Manager URL'
4. Go to **Boards Manager** from the Tools -> Board menu
5. Search for esp32 and install **esp32**.
6. Download and install the [CP2102 driver](https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers)
## Setup
1. Connect the **ESP32-DevKitC** board via Micro-USB cable to your computer
2. Go into Tools -> Board and select **ESP32 Dev Module** from the list
3. Under Tools -> Port select the appropriate device *ie. COM1, /dev/cu.SLAB_USBtoUART*
4. Test uploading to the board by uploading an empty sketch to make sure there are no issues.
5. [Issue LINE Simple Beacon Hardware ID](https://manager.line.biz/beacon/register)



> If you can not find your channel in new [LINE Official Account Manager Beacon Register](https://manager.line.biz/beacon/register), you can try to register at old [LINE@ Manager Beacon Register](https://admin-official.line.me/beacon/register).
> 
> 
> 
## Upload
1. From this repository, open **sample/sample.ino**
2. Change the `HWID` to your generated HWID.
3. [Adjust the signal length](https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/bluetooth/controller_vhci.html?highlight=esp_ble_tx_power_set#_CPPv220esp_ble_tx_power_set20esp_ble_power_type_t17esp_power_level_t)
4. 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