8#ifndef BLEClientNetworking_h
9#define BLEClientNetworking_h
10#include "../../Defines.h"
25#define PSCAN_INTERVAL 45
26#define PSCAN_WINDOW 15
41#define BLE_CLIENT_CALLBACK_ONREAD 0
42#define BLE_CLIENT_CALLBACK_ONWRITE 1
44#define BLE_CLIENT_CALLBACK_BLINK_LIGHT 2
46#define BLE_CLIENT_CALLBACK_STATUS_MESSAGE 3
47#define BLE_CLIENT_MAX_CALLBACKS 4
void loop_BLEClientNetworking()
the loop()
void sendCommandBLEClient(String cmdString)
boolean isConnectedBLEClient()
returns whether connected over BLE as a client to a server(like a ESP feeder)
void sendFeedCommandBLEClient()
sends the "feed" command over bluetooth to the connected device..
boolean useBLEClient()
returns if the BLEClient is turned on.. note, if connected to a BLE device, then disconnect
void setup_BLEClientNetworking(char *serviceName, char *serviceUUID, char *characteristicUUID)
the 'setup' for this module BLEClientNetworking. Here the service name is added (and potentially more...
void disconnect_BLEClientNetworking()
try to disconnect..
void skipNameOrAddress_BLEClientNetworking(char *nameOrAddress)
an address or name to skip (for at least 1 time)
void sendCommandBLEClient_13orLess(String cmdString)
send a string of 13 or less characters.