My Project
Loading...
Searching...
No Matches
BLEHub.h File Reference
#include <Arduino.h>
#include <NimBLEDevice.h>
#include "BLEHubChannel.h"
#include "BLEHubChannelController.h"
#include "BLEHubConfiguration.h"
#include "MCLocoAction.h"
Include dependency graph for BLEHub.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BLEHub
 

Macros

#define BLE_TaskPriority   1
 
#define BLE_CoreID   CONFIG_BT_NIMBLE_PINNED_TO_CORE
 
#define BLE_StackDepth   2048
 
#define ConnectDelayInSeconds   5
 

Enumerations

enum struct  MessageType {
  BUW2_DEVICE_STATUS = 0x00 , HUB_PROPERTIES = 0x01 , HUB_ACTIONS = 0x02 , HUB_ALERTS = 0x03 ,
  HUB_ATTACHED_IO = 0x04 , GENERIC_ERROR_MESSAGES = 0x05 , HW_NETWORK_COMMANDS = 0x08 , FW_UPDATE_GO_INTO_BOOT_MODE = 0x10 ,
  FW_UPDATE_LOCK_MEMORY = 0x11 , FW_UPDATE_LOCK_STATUS_REQUEST = 0x12 , FW_LOCK_STATUS = 0x13 , PORT_INFORMATION_REQUEST = 0x21 ,
  PORT_MODE_INFORMATION_REQUEST = 0x22 , PORT_INPUT_FORMAT_SETUP_SINGLE = 0x41 , PORT_INPUT_FORMAT_SETUP_COMBINEDMODE = 0x42 , PORT_INFORMATION = 0x43 ,
  PORT_MODE_INFORMATION = 0x44 , PORT_VALUE_SINGLE = 0x45 , PORT_VALUE_COMBINEDMODE = 0x46 , PORT_INPUT_FORMAT_SINGLE = 0x47 ,
  PORT_INPUT_FORMAT_COMBINEDMODE = 0x48 , VIRTUAL_PORT_SETUP = 0x61 , PORT_OUTPUT_COMMAND = 0x81 , PORT_OUTPUT_COMMAND_FEEDBACK = 0x82
}
 

Macro Definition Documentation

◆ BLE_CoreID

#define BLE_CoreID   CONFIG_BT_NIMBLE_PINNED_TO_CORE

◆ BLE_StackDepth

#define BLE_StackDepth   2048

◆ BLE_TaskPriority

#define BLE_TaskPriority   1

◆ ConnectDelayInSeconds

#define ConnectDelayInSeconds   5

Enumeration Type Documentation

◆ MessageType

enum struct MessageType
strong
Enumerator
BUW2_DEVICE_STATUS 
HUB_PROPERTIES 
HUB_ACTIONS 
HUB_ALERTS 
HUB_ATTACHED_IO 
GENERIC_ERROR_MESSAGES 
HW_NETWORK_COMMANDS 
FW_UPDATE_GO_INTO_BOOT_MODE 
FW_UPDATE_LOCK_MEMORY 
FW_UPDATE_LOCK_STATUS_REQUEST 
FW_LOCK_STATUS 
PORT_INFORMATION_REQUEST 
PORT_MODE_INFORMATION_REQUEST 
PORT_INPUT_FORMAT_SETUP_SINGLE 
PORT_INPUT_FORMAT_SETUP_COMBINEDMODE 
PORT_INFORMATION 
PORT_MODE_INFORMATION 
PORT_VALUE_SINGLE 
PORT_VALUE_COMBINEDMODE 
PORT_INPUT_FORMAT_SINGLE 
PORT_INPUT_FORMAT_COMBINEDMODE 
VIRTUAL_PORT_SETUP 
PORT_OUTPUT_COMMAND 
PORT_OUTPUT_COMMAND_FEEDBACK