整理中...
文档
芯步设备固件SDK使用文档
- Overview
- Getting started
- System
- Timer
- Network
- Order
- Config
- Event
- State
- Message
- Peripheral
- Gateway
- Bridge
- Utils
- Get network info
- GSM
- WiFi
- Ethernet
- Set Ethernet chip
- Set Ethernet pins
- Try connect Ethernet
- Disconnect Ethernet
- Connect Ethernet
- Connect WiFi
- Get WiFi config
- Clear WiFi config
- Add WiFi config
- Update WiFi config
- Disconnect WiFi
- Delete WiFi config
- Set GSM chip
- Set GSM serial port
- Connect GSM
- Try connect GSM
- Disconnect GSM
- Read device config
- Add device config item
- Save device config
- Reset device config
- Clear all device config
- Config change
- Order
- Reply to order
- Report event
- Register attribute change event
- Set attribute debounce time
- Set attribute value
- Generate message ID
- Publish message
- Device message receive
- Fetch device states
- Scheduled report state
- Report state data
- Add timer
- LED
- Button
- Peripheral pre init
- Peripheral init
- System initialization
- System parameters
- System callbacks
- System time
- Restart device
- Configure device LED
- Set system LED
- LED blink
- LED toggle
- LED off
- LED always on
- Configure device button
- Set system button
- Set activation code
- Set product info
- System initialization
- System main loop
- Device boot lifecycle
- What the SDK does
- When to call each API
- Do not reinvent the wheel
- Use SDK
- Error code quick reference
- Get formatted time
- Get timestamp
- Get timestamp ms
- Get timezone
- Set timezone
- Calculate elapsed time
- Common utility functions
- Set receive callback function
- Set error callback function
- Set error callback
- Set receive callback
- Receive data
- Handle received data
- Query available bytes
- Get statistics
- Send formatted string
- Send raw data
- Configure UART bridge
- Configure SPI bridge
- Send string
- System progress callback
- System initial progress callback
- System state change callback
- Debug
- Get version
- Get system info
- Get mode
- Set mode
- Get device ID
- Get bench ID
- Set bench ID
- Get gateway ID
- Set gateway ID
- Get master device ID
- Set master device ID
- Child device management
- Gateway