Bluetooth® Sample Application Programmer's Reference: UI Message

Bluetooth

Bluetooth® Sample Application Programmer's Reference

Presentation

Functions

char * _UI_MsgStrGet (int id)
 

Enumerations

enum  UI_MsgID_t {
  UI_MSG_START, UI_MSG_UNDEFINED_ERROR, UI_MSG_UNDEFINED_PROMPT, UI_MSG_BT_SAMPLE,
  UI_MSG_PAR_FILE_NOT_FOUND, UI_MSG_ACCESS_DENIED, UI_MSG_INVALID_DATA, UI_MSG_INVALID_DATA_LEN,
  UI_MSG_FUNC_NOT_IMPLEMENTED, UI_MSG_PAIRING_START, UI_MSG_PAIRING_OK, UI_MSG_PAIRING_FAILED,
  UI_MSG_PAIRING_STOP, UI_MSG_BT_SEARCH, UI_MSG_NO_DEVICE_FOUND, UI_MSG_NO_PAIRED_DEVICE,
  UI_MSG_IAP_FAILED, UI_MSG_TEST_OK, UI_MSG_TEST_FAILED, UI_MSG_END
}
 

Function Documentation

char* _UI_MsgStrGet ( int  id)

Returns the string specified using the language library

Parameters
[in]idThe identifier of the string to be retrieved.
Returns
  • NULL when the specified identifier is not found in the list.
  • Pointer to the string corresponding to the message identifier.

Enumeration Type Documentation

enum UI_MsgID_t

Indices to the predefined string messages list of the application. This indices must be used when calling _UI_MsgStrGet(). Note that whatever is defined here, must be defined in the message list.

Enumerator
UI_MSG_START 
UI_MSG_UNDEFINED_ERROR 
UI_MSG_UNDEFINED_PROMPT 
UI_MSG_BT_SAMPLE 
UI_MSG_PAR_FILE_NOT_FOUND 
UI_MSG_ACCESS_DENIED 
UI_MSG_INVALID_DATA 
UI_MSG_INVALID_DATA_LEN 
UI_MSG_FUNC_NOT_IMPLEMENTED 
UI_MSG_PAIRING_START 
UI_MSG_PAIRING_OK 
UI_MSG_PAIRING_FAILED 
UI_MSG_PAIRING_STOP 
UI_MSG_BT_SEARCH 
UI_MSG_NO_DEVICE_FOUND 
UI_MSG_NO_PAIRED_DEVICE 
UI_MSG_IAP_FAILED 
UI_MSG_TEST_OK 
UI_MSG_TEST_FAILED 
UI_MSG_END 

Ingenico