-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathconstants.lua
38 lines (32 loc) · 1.09 KB
/
constants.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
local constants = {}
constants.gpio = {
esp32c3 = {
LED_A = 12,
LED_B = 13
},
esp32s3 = {
LED_A = 10,
LED_B = 11
}
}
constants.led_blink_duration = {
working = 50,
initializing = 500
}
constants.pdu_sms_center_type = {
domestic = "81",
global = "91",
alphanumeric = "D0"
}
constants.uart_ready_message = "UART_RECV_ID"
constants.air780_message_topic_at_received = "AT_RECEIVED"
constants.air780_message_topic_sim_detected = "SIM_DETECTED"
constants.air780_message_topic_sms_format_set = "SMS_FORMAT_SET"
constants.air780_message_topic_charset_configured = "CHARSET_CONFIGURED"
constants.air780_message_topic_new_message_notification_configured = "NEW_MESSAGE_NOTIFICATION_CONFIGURED"
constants.air780_message_topic_network_connected = "NETWORK_CONNECTED"
constants.air780_message_topic_new_sms_received = "NEW_SMS_RECEIVED"
constants.air780_message_topic_new_notification_request = "NEW_NOTIFICATION_REQUEST"
constants.air780_helper_sms_send_ready = "SMS_SEND_READY"
constants.air780_send_sms_success = "SMS_SENT_SUCCESSFULLY"
return constants