Advertising, pairing, GATT service discovery, characteristic read/write/notify - complete BLE test automation for IoT devices and companion apps.

BLE (Bluetooth Low Energy) testing is the validation of Bluetooth LE communication between a Central device (phone or gateway) and a Peripheral device (IoT sensor, wearable, or embedded product) - verifying correct GATT service and characteristic implementation, pairing and bonding behaviour, connection parameter negotiation, and data exchange integrity.
Bluetooth LE (BT 4.0+) is the dominant wireless protocol for IoT devices, wearables, smart home products, industrial sensors, medical devices, and automotive keyless entry systems. Unlike Classic Bluetooth, BLE is optimised for low-power, intermittent communication using the GATT (Generic Attribute Profile) data model where servers expose Characteristics that clients read, write, or subscribe to for notifications.
Two sides to test: The BLE Central (client) role initiates connections and accesses GATT characteristics - simulating what a phone app does. The BLE Peripheral (server) role advertises and responds to connections - simulating the IoT device so you can test the phone app or gateway against a controlled virtual device. TestBot provides both roles as separate agents.
BLE's layered architecture requires testing at multiple levels - from advertising through GATT to application data.
The BLE Peripheral advertises on three primary channels. Testing validates: advertising interval, advertising PDU type (connectable/non-connectable/scannable), advertising data content (UUID, device name, manufacturer data), and scan response content.
Secure BLE connections require pairing (one-time key exchange) and bonding (storing keys for reconnection). Testing validates: correct pairing method selection (Just Works, Passkey, Numeric Comparison), key exchange, bond storage, and reconnection using stored keys.
After connection, the Central discovers the Peripheral's GATT services, characteristics, and descriptors. Testing validates: correct Primary Service discovery, Characteristic discovery (properties: Read, Write, Notify, Indicate), and CCCD (Client Characteristic Configuration Descriptor) presence.
Core GATT operations: Read Characteristic (server returns current value), Write Characteristic (client sets value), Write Without Response (fast write, no ACK), Notify (server pushes updates), Indicate (server pushes with ACK). Each must be tested for correct behaviour, timing, and error handling.
TestBot's BLE Central Agent connects to your IoT device and validates GATT characteristics. The BLE Peripheral Agent simulates your IoT device so you can test the phone app or gateway. Both use a single Bluetooth Adapter.
| Scenario | Agents Used | Validated Outcome |
|---|---|---|
| Advertising Validation | BLE Central Agent - scan + advertising data assert | Advertising interval within spec, UUID correct, RSSI above -80dBm at 1m |
| GATT Service Discovery | BLE Central Agent - service and characteristic discovery | All required services and characteristics present, correct properties (R/W/N/I) |
| Characteristic Read | BLE Central Agent - ReadCharacteristic | Value returned within 500ms, byte encoding correct, value within expected range |
| Characteristic Write + Confirm | BLE Central Agent - WriteCharacteristic + ReadCharacteristic readback | Written value confirmed by readback; out-of-range value returns ATT error 0x07 |
| Notification Subscribe + Validate | BLE Central Agent - CCCD write + notification monitor | Notifications received at configured rate with correct payload; unsubscribe stops notifications |
| Phone App Testing | BLE Peripheral Agent (device simulation) + Mobile App Agent | App discovers simulated device, pairs correctly, reads/writes characteristics - app behaviour validated |
| End-to-End IoT Pairing Flow | BLE Central + WiFi Agent + Mobile App Agent | WiFi provisioning completes, BLE pairing succeeds, app confirms device online - full flow automated |

BLE testing is the validation of Bluetooth Low Energy communication - verifying that a device correctly implements advertising, pairing, GATT service discovery, and characteristic read/write/notify operations. It covers the embedded device (Peripheral) side, the client (Central) side, and end-to-end flows combining both.
BLE Central and Peripheral agents. One Bluetooth Adapter. 14-day free trial.