B4A Library [B4X] BLE 2 - Bluetooth Low Energy - Erel    Jan 4, 2023   (28 reactions)   tags: Bluetooth, Bluetooth Low Energy, BLE ://www.b4x.com/android/forum/threads/ble-bluetooth-low-energy-library.46099/#content
Tips &....BLUETOOTH_SCAN)
AddPermission(android.permission.BLUETOOTH_CONNECT)
And requesting at runtime:
Dim...("android.permission.BLUETOOTH_SCAN", "android.permission.BLUETOOTH_CONNECT", rp... B4A Tutorial [B4XPages] Bluetooth Chat Example - Erel    Jun 22, 2023   (24 reactions) 95662 Updated implementation, based on B4XPages of https://www.b4x.com/android/forum/threads/android-bluetooth-bluetoothadmin-tutorial.14768/#content. The code is much simpler compared to... with targetSdkVersion 33. Note the new method to enable Bluetooth if needed. - Example updated....permission.ACCESS_FINE_LOCATION) AddPermission(android.permission.BLUETOOTH_ADVERTISE) AddPermission(android.permission.BLUETOOTH_CONNECT) AddPermission(android.permission.BLUETOOTH_SCAN) These are runtime... B4A Tutorial Android Bluetooth / BluetoothAdmin Tutorial - Erel    Aug 31, 2020   (17 reactions) Better implementation based on B4XPages: https://www.b4x.com/android/forum/threads/b4xpages-bluetooth-chat-example.119014/#content Tutorial was rewritten in April 2018. We will create a chat example between two Android devices. All the non-UI code is implemented in a class named BluetoothManager. It is initialized in Service_Create of the starter service. It is always better to implement communication related code in a service or a class initialized from a service. This way the communication... B4i Library BLE (Bluetooth Low Energy) library - Erel    May 6, 2021   (3 reactions) /key><string>Bluetooth used to connect to ...</string> You should change the description as needed. B4XPages example: https://www.b4x.com/android/forum/threads/b4x-ble-2-bluetooth-low... B4R Tutorial HC 05 Classic Bluetooth - Erel    Apr 8, 2019   (10 reactions) https://www.b4x.com/basic4android/images/SS-2016-05-08_17.39.25.jpg https://www.b4x.com/basic4android/images/SS-2016-05-08_17.39.57.png In this example we will connect an Android device to an Arduino using class Bluetooth with the HC 05 module. Working with this module is simple. Connect the power and gnd pins and connect the HC05 RX pin to an Arduino TX pin and the HC05 TX pin to an Arduino...://www.martyncurrey.com/arduino-with-hc-05-bluetooth-module-in-slave-mode/ You can use... B4A Library SD: BT Printer Bluetooth - Star-Dust    Sep 14, 2022   (37 reactions) ANNOUNCEMENT Starting today, this library will be abandoned and will no longer be distributed. A new, more comprehensive Android library for ESC/POS thermal printers will be released. (BT, BLE, LAN, USB) (here) (No WRAP, No Java Only B4A) BT_Printer library allows you to print text and image to a thermal printers (Bluetooth and BLE) with ESC/POS language (For B4J versione see Here, for...) Events: BluetoothIsDisabled ConnectedToPrint (Success As Boolean) DataReceived (Buffer() As Byte... B4A Library SD EscPos Printer (Lan,USB, Bluetooth SPP, BLE) - Star-Dust    Oct 30, 2023   (18 reactions) This library allows you to print with thermal printers compatible with the ESC POS language in 4 different communication channels (USB, Bluetooth SPP, BLE, LAN) you can download the ble3 library from here The DEMO version prints one minute every 2. The full version of the library will be issued to... version, such as LAN, USB, NFC please contact me privately. OS Bluetooth SPP BLE (Beacon) USB...: BluetoothIsDisabled ConnectedToPrint (Success As Boolean) DataReceived (Buffer() As Byte) DisconnectToPrint (Mac... B4J Library jBluetooth library - Erel    Aug 2, 2020   (26 reactions)   tags: Erel This library allows you to discover and connect to Bluetooth devices. It is similar to B4A Serial... a Bluetooth adapter to a virtual com and then use jSerial to connect with a Bluetooth device....facebook.com/130066193752502/videos/941113055981141/ The steps required to connect to a Bluetooth device: 1. Check that Bluetooth.IsEnabled returns true. 2. Start a discovery process. 3. Once... with the BluetoothConnection object. 5. Use AsyncStreams with the input and output streams. You can also listen to... B4A Class Bluetooth ESC/POS Printer Class - agraham    Jun 12, 2019   (40 reactions) For the last couple of weeks I have been playing with an 80mm Bluetooth ESC/POS thermal printer I bought off eBay, new and delivered, for the ludicrously cheap price of £20. While the print quality, particularly of images with large areas of black (they are gray due to power supply or thermal... wide range of prices. Here then is a Printer class that will connect by Bluetooth to the printer... a paired Bluetooth printer that is switched on. The Printer class uses the BitmapCreator... B4R Tutorial Connecting to Arduino with BLE (Bluetooth Low Energy) - Erel    Jan 17, 2018   (7 reactions)   tags: BT, LE, Ble, Example In the previous example we broadcasted a single byte as part of the advertising data: https://www.b4x.com/android/forum/threads/ble-hm-10-module-broadcasting-a-single-byte.65785/ In this example the Android or iOS device (only one at a time) will connect to the BLE peripheral and read and write data to the Arduino board. The phone controls the intensity of the two leds: https://www.b4x.com/basi... Page: 1   2   3   4   5   6   7   |