# GL868_ESP32 Library Keywords
# Syntax Coloring Map

# Classes (KEYWORD1)
GL868_ESP32	KEYWORD1
GeoLinker	KEYWORD1
GL868_ESP32_LED	KEYWORD1
GL868_ESP32_Battery	KEYWORD1
GL868_ESP32_Motion	KEYWORD1
GL868_ESP32_Modem	KEYWORD1
GL868_ESP32_GSM	KEYWORD1
GL868_ESP32_GPS	KEYWORD1
GL868_ESP32_JSON	KEYWORD1
GL868_ESP32_Queue	KEYWORD1
GL868_ESP32_SMS	KEYWORD1
GL868_ESP32_Call	KEYWORD1
GL868_ESP32_Whitelist	KEYWORD1
GL868_ESP32_StateMachine	KEYWORD1
GL868_ESP32_Sleep	KEYWORD1
GPSData	KEYWORD1
PayloadField	KEYWORD1
QueueEntry	KEYWORD1

# Methods (KEYWORD2)
begin	KEYWORD2
update	KEYWORD2
setSendInterval	KEYWORD2
setGPSTimeout	KEYWORD2
setTimeOffset	KEYWORD2
setBatteryRange	KEYWORD2
setBatterySource	KEYWORD2
setLEDPower	KEYWORD2
turnOnLED	KEYWORD2
turnOffLED	KEYWORD2
setOperatingMode	KEYWORD2
getOperatingMode	KEYWORD2
isModeEnabled	KEYWORD2
setAPN	KEYWORD2
getAPN	KEYWORD2
sendATCommand	KEYWORD2
getATResponse	KEYWORD2
getModemSerial	KEYWORD2
gpsOn	KEYWORD2
gpsOff	KEYWORD2
isGpsPowered	KEYWORD2
getLocation	KEYWORD2
getLocationNow	KEYWORD2
httpPost	KEYWORD2
sendSMS	KEYWORD2
makeCall	KEYWORD2
answerCall	KEYWORD2
hangupCall	KEYWORD2
isCallActive	KEYWORD2
setPayloads	KEYWORD2
setPayloadFields	KEYWORD2
clearPayloads	KEYWORD2
enableSMS	KEYWORD2
enableCalls	KEYWORD2
enableSMSMonitoring	KEYWORD2
enableCallMonitoring	KEYWORD2
registerSMSHandler	KEYWORD2
registerCallHandler	KEYWORD2
setCallAction	KEYWORD2
enableMotionTrigger	KEYWORD2
setMotionSensitivity	KEYWORD2
enableFullPowerOff	KEYWORD2
setSIM868SleepMode	KEYWORD2
enableMotionWake	KEYWORD2
setRIPin	KEYWORD2
enableHeartbeat	KEYWORD2
setHeartbeatInterval	KEYWORD2
setQueueStorage	KEYWORD2
setLogLevel	KEYWORD2
getState	KEYWORD2
getWakeSource	KEYWORD2
isScheduledWake	KEYWORD2
isMotionWake	KEYWORD2
getBatteryPercent	KEYWORD2
getBatteryVoltageMV	KEYWORD2
getSignalStrength	KEYWORD2
getSatelliteCount	KEYWORD2
getOperator	KEYWORD2
getIMEI	KEYWORD2
getIMSI	KEYWORD2
getICCID	KEYWORD2
getPhoneNumber	KEYWORD2
getLastGPS	KEYWORD2
forceSend	KEYWORD2
forceSleep	KEYWORD2
onStateChange	KEYWORD2
onError	KEYWORD2
onDataSent	KEYWORD2
setLEDCallback	KEYWORD2
hasPendingCall	KEYWORD2
clearPendingCall	KEYWORD2

# Constants - System States (LITERAL1)
STATE_BOOT	LITERAL1
STATE_MODEM_POWER_ON	LITERAL1
STATE_GSM_INIT	LITERAL1
STATE_GSM_REGISTER	LITERAL1
STATE_GPS_POWER_ON	LITERAL1
STATE_GPS_WAIT_FIX	LITERAL1
STATE_BUILD_JSON	LITERAL1
STATE_GPRS_ATTACH	LITERAL1
STATE_SEND_HTTP	LITERAL1
STATE_SEND_OFFLINE_QUEUE	LITERAL1
STATE_SLEEP_PREPARE	LITERAL1
STATE_SLEEP	LITERAL1
STATE_IDLE	LITERAL1

# Constants - LED States (LITERAL1)
LED_OFF	LITERAL1
LED_BOOT	LITERAL1
LED_MODEM_POWER_ON	LITERAL1
LED_GSM_INIT	LITERAL1
LED_GSM_REGISTER	LITERAL1
LED_GPS_POWER_ON	LITERAL1
LED_GPS_WAIT_FIX	LITERAL1
LED_BUILD_JSON	LITERAL1
LED_GPRS_ATTACH	LITERAL1
LED_SEND_HTTP	LITERAL1
LED_SEND_OFFLINE	LITERAL1
LED_SLEEP_PREPARE	LITERAL1
LED_SLEEP	LITERAL1
LED_IDLE	LITERAL1
LED_SMS_RECEIVED	LITERAL1
LED_SMS_SENDING	LITERAL1
LED_CALL_INCOMING	LITERAL1
LED_CALL_ACTIVE	LITERAL1
LED_ERROR	LITERAL1

# Constants - Wake Sources (LITERAL1)
WAKE_TIMER	LITERAL1
WAKE_MOTION	LITERAL1
WAKE_CALL	LITERAL1
WAKE_SMS	LITERAL1
WAKE_UNKNOWN	LITERAL1

# Constants - Error Codes (LITERAL1)
ERROR_NONE	LITERAL1
ERROR_NO_SIM	LITERAL1
ERROR_NO_NETWORK	LITERAL1
ERROR_NO_GPRS	LITERAL1
ERROR_NO_GPS	LITERAL1
ERROR_HTTP_FAIL	LITERAL1
ERROR_MODEM	LITERAL1
ERROR_MOTION_SENSOR	LITERAL1
ERROR_QUEUE_FULL	LITERAL1
ERROR_JSON_BUILD	LITERAL1
ERROR_TIMEOUT	LITERAL1

# Constants - Operating Modes (LITERAL1)
MODE_DATA	LITERAL1
MODE_SMS	LITERAL1
MODE_CALL	LITERAL1
MODE_DATA_ONLY	LITERAL1
MODE_SMS_ONLY	LITERAL1
MODE_CALL_ONLY	LITERAL1
MODE_DATA_SMS	LITERAL1
MODE_DATA_CALL	LITERAL1
MODE_SMS_CALL	LITERAL1
MODE_FULL	LITERAL1

# Constants - SIM868 Sleep Modes (LITERAL1)
SIM868_FULL_OFF	LITERAL1
SIM868_CFUN0	LITERAL1
SIM868_CFUN4	LITERAL1

# Constants - Queue Storage (LITERAL1)
QUEUE_RAM	LITERAL1
QUEUE_LITTLEFS	LITERAL1
QUEUE_SPIFFS	LITERAL1

# Constants - Call Actions (LITERAL1)
CALL_HANGUP	LITERAL1
CALL_SEND_GPS	LITERAL1
CALL_CUSTOM	LITERAL1

# Constants - Battery Source (LITERAL1)
BATTERY_SOURCE_ADC	LITERAL1
BATTERY_SOURCE_MODEM	LITERAL1

# Constants - Log Levels (LITERAL1)
LOG_OFF	LITERAL1
LOG_ERROR	LITERAL1
LOG_INFO	LITERAL1
LOG_DEBUG	LITERAL1
LOG_VERBOSE	LITERAL1

# Constants - Payload Types (LITERAL1)
PAYLOAD_FLOAT	LITERAL1
PAYLOAD_INT	LITERAL1
PAYLOAD_STRING	LITERAL1
PAYLOAD_BOOL	LITERAL1
