@CHIP-RTOS C Library V2.00 - BIOS API
BIOS_Get_Features
Report RTOS features. unsigned long BIOS_Get_Features ( void ); Parameters
- -- none --
Return Value
- Bit field indicating features in this RTOS version with following
bit assignments:
Bit 0: BGF_ETHERNET - Ethernet device for TCPIP
Bit 1: BGF_PPP_SERVER - PPP server
Bit 2: BGF_PPP_CLIENT - PPP client
Bit 3: BGF_WEB_SERVER - Web server
Bit 4: BGF_TELNET_SERVER - Telnet server
Bit 5: BGF_FTP_SERVER - FTP server
Bit 6: BGF_TFTP_SERVER - TFTP server
Bit 7: BGF_DHCP_CLIENT - DHCP client
....
Bit 16: BGF_I2C_BUS - I2C-Bus API
Bit 17: BGF_HW_API - Hardware API
Bit 18: BGF_RTOS_API - RTOS API
Bit 19: BGF_PACKET - Packet driver interface for ethernet
Bit 20: BGF_XMODEM - Serial XMODEM filetransfer
Bit 21: BGF_EXT_DISK - External disk interface
Bit 22: BGF_SOFT_SPI - Software SPI API
....
Bit 24: BGF_SNMP_MIB - SNMP MIB variables support (see
Get_SNMP_Data)
Bit 25: BGF_UDP_CONFIG - UDP config server
Bit 26: BGF_PING_CLIENT - Ping client (see
Ping_Open)
Bit 27: BGF_DEVICE_DRIVER - TCP/IP device driver
Bit 28: BGF_WEB_PUT - Webfile upload (Webserver PUT method)
The mask names stated here (e.g. BGF_PPP_SERVER) are defined in
BIOS_API.H include file.
Comments
- The bit field returned is coded as so:
Bit=0: service or device is not available.
Bit=1: service or device is available.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|