SWRU580 April   2021 CC2564C , CC2564MODA , CC2564MODN

 

  1.   Trademarks
  2. Introduction
  3. A2DP (AUD) Demo Guide
    1. 2.1 Demo Overview
    2. 2.2 Demo Application
    3. 2.3 Application Commands
  4. A3DP Sink Demo Guide
    1. 3.1 Demo Overview
    2. 3.2 Demo Application
    3. 3.3 Sink Reference Board Demo Application
    4. 3.4 Multiple Source Demo
    5. 3.5 Application Commands
  5. A3DP Source Demo Guide
    1. 4.1 Demo Overview
    2. 4.2 Demo Application
    3. 4.3 Application Commands
  6. HFP Demo Guide
    1. 5.1 Demo Overview
    2. 5.2 Demo Application
    3. 5.3 Application Commands
  7. HFP Audio Gateway Demo Guide
    1. 6.1 Demo Overview
    2. 6.2 Demo Application
    3. 6.3 Application Commands
  8. HID Demo Guide
    1. 7.1 Demo Overview
    2. 7.2 Demo Application
    3. 7.3 Application Commands
  9. HSP Demo Guide
    1. 8.1 Demo Overview
    2. 8.2 Demo Application
    3. 8.3 Application Command
  10. Map Demo Guide
    1. 9.1 Demo Overview
    2. 9.2 Demo Application
    3. 9.3 Application Command
  11. 10PBAP Demo Guide
    1. 10.1 Demo Overview
    2. 10.2 Demo Application
    3. 10.3 Application Commands
  12. 11SPP Demo Guide
    1. 11.1 Demo Overview
    2. 11.2 Demo Application
    3. 11.3 Application Commands
  13. 12SPPLE Demo Guide
    1. 12.1 Demo Overview
    2. 12.2 Demo Application
    3. 12.3 Demonstrating SPP LE on an iOS Device with the LightBlue App
    4. 12.4 Demonstrating SPP LE on an iOS Device with the SPPLE Transfer App - LEGACY
    5. 12.5 SPP Demo
    6. 12.6 Application Commands
  14. 13SPPDMMulti Demo Guide
    1. 13.1 Demo Overview
    2. 13.2 Demo Application
    3. 13.3 Application Commands
  15. 14ANP Demo Guide
    1. 14.1 Demo Overview
    2. 14.2 Demo Application
    3. 14.3 Application Commands
  16. 15HFP Demo Guide
    1. 15.1 Demo Overview
    2. 15.2 Demo Application
    3. 15.3 Application Commands
  17. 16HTP Demo Guide
    1. 16.1 Demo Overview
    2. 16.2 Demo Application
    3. 16.3 Application Commands
  18. 17PASP Demo Guide
    1. 17.1 Demo Overview
    2. 17.2 Demo Application
    3. 17.3 Application Commands
  19. 18HOGP Demo Guide
    1. 18.1 Demo Overview
    2. 18.2 Demo Application
    3. 18.3 Application Commands
  20. 19PXP Demo Guide
    1. 19.1 Demo Overview
    2. 19.2 Demo Application
    3. 19.3 Applications Commands
  21. 20FMP Demo Guide
    1. 20.1 Demo Overview
    2. 20.2 Demo Application
    3. 20.3 Application Commands
  22. 21CSCP Demo Guide
    1. 21.1 Demo Overview
    2. 21.2 Demo Application
    3. 21.3 Application Commands
  23. 22Revision History

Application Commands

TI’s Bluetooth stack is implementation of the upper layers of the Bluetooth protocol stack. TI’s Bluetooth stackprovides a robust and flexible software development tool that implements the Bluetooth Protocols and Profiles above the Host Controller Interface (HCI). TI’s Bluetooth stack's Application Programming Interface (API) provides access to the upper-layer protocols and profiles and can interface directly with the Bluetooth chips.

This page describes the various commands that a user of the application can use. Each command is a wrapper over a TI’s Bluetooth stack API which gets invoked with the parameters selected by the user. This is a subset of the APIs available to the user. TI’s Bluetooth stack API documentation (TI_Bluetooth_Stack_Version-Number\Documentation or for STM32F4, TI_Bluetooth_Stack_Version-Number\RTOS_VERSION\Documentation) describes all of the API's in detail.

Generic Access Profile Commands
Note: Reference the appendix for all Generic Access Profile Commands
Alert Notification Profile Commands
RegisterANS

Description

RegisterANS is responsible for registering a ANP Service.

Parameters

It is not necessary to include parameters when using this command. A parameter will have no effect on the outcome.

Possible Return Values

(0) Successfully registered ANP service

(-4) Function_Error

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1001)ANS_ERROR_INSUFFICIENT_RESOURCES

(-1002)ANS_ERROR_SERVICE_ALREADY_REGISTERED

API Call

ANS_Initialize_Service(BluetoothStackID, ANS_EventCallback, NULL, &ANSInstanceID)

API Prototype

int BTPSAPI ANS_Initialize_Service(unsigned int BluetoothStackID, ANS_Event_Callback_t EventCallback, unsigned long CallbackParameter, unsigned int *ServiceID)

Description of API

This function is responsible for opening a ANS Server.The first parameter is the Bluetooth Stack ID on which to open the Server. The second parameter is the Callback function to call when an event occurs on this Server Port. The third parameter is a user-defined callback parameter that will be passed to the callback function with each event. The final parameter is a pointer to store the GATT Service ID of the registered ANS service. This can be used to include the service registered by this call. This function returns the positive, non-zero, Instance ID or a negative error code.


UnRegisterANS

Description

UnRegisterANS is responsible for unregistering a ANP Service.

Parameters

It is not necessary to include parameters when using this command. A parameter will have no effect on the outcome.

Possible Return Values

(0)Successfully unregistered ANP service

(-4) Function_Error

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Cleanup_Service(BluetoothStackID, ANSInstanceID)

API Prototype

int BTPSAPI ANS_Cleanup_Service(unsigned int BluetoothStackID, unsigned int InstanceID)

Description of API

The following function is responsible for closing a previously opened ANS Server. The first parameter is the Bluetooth Stack ID on which to close the Server. The second parameter is the InstanceID that was returned from a successfull call to ANS_Initialize_Service(). This function returns a zero if successful or a negative return error code if an error occurs.


DiscoverANS

Description

DiscoverANS is responsible for performing a ANP Service Discovery Operation. This function will return zero on successful execution and a negative value on errors.

Parameters

It is not necessary to include parameters when using this command. A parameter will have no effect on the outcome.

Possible Return Values

(0)Successfully unregistered ANP service

(-4) Function_Error

API Call

GDIS_Service_Discovery_Start(BluetoothStackID, ConnectionID, (sizeof(UUID)/sizeof(GATT_UUID_t)), UUID, GDIS_Event_Callback, sdANS)

API Prototype

int BTPSAPI GDIS_Service_Discovery_Start(unsigned int BluetoothStackID, unsigned int ConnectionID, unsigned int NumberOfUUID, GATT_UUID_t *UUIDList, GDIS_Event_Callback_t ServiceDiscoveryCallback, unsigned long ServiceDiscoveryCallbackParameter)

Description of API

The GDIS_Service_Discover_Start is in an application module called GDIS that is provided to allow an easy way to perform GATT service discovery. This module can and should be modified for the customers use. This function is called to start a service discovery operation by the GDIS module.


ConfigureRemoteANS

Description

ConfigureRemoteANS is responsible for configure a ANP Service on a remote device. This function will return zero on successful execution and a negative value on errors.

Parameters

There are two parameters for this command, they are [New Alert Notify (0 = disable, 1 = enable)] and [Unread Alert Status Notify (0 = disable, 1 = enable)].

Possible Return Values

(0) CCCD Configuration Success

(-4) FUNCTION_ERROR

(-6) BTPS_ERROR_INVALID_PARAMETER


NotifyNewAlerts

Description

NotifyNewAlerts is responsible for performing a New Alert notification to a connected remote device. This function will return zero on successful execution and a negative value on errors.

Parameters

[BitMask (0xXXXX)]

Category(bit values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Sending New Alert Notification for 'category'... Success

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR


NotifyUnreadAlerts

Description

NotifyUnreadAlerts is responsible for performing an Unread Alert notification to a connected remote device. This function will return zero on successful execution and a negative value on errors.

Parameters

[BitMask (0xXXXX)]

Category(bit values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Sending Unread Alert Notification for 'category'... Success

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR


GetNewAlertStatus

Description

GetNewAlertStatus is responsible for reading the New Alert Status for a specified category. It can be executed only by a Server. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Get New Alert Status request sent

(-6) INVALID_PARAMETERS_ERROR

(-8) INVALID_STACK_ID_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Query_Supported_Categories(BluetoothStackID, ANSInstanceID, scNewAlert, &SupportedCategories))

API Prototype

int BTPSAPI ANS_Query_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t *SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to query the Supported Categories for. The final parameter is a pointer to store the Supported Categories bit mask for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a pointer to a bit mask that will be made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX, if this function returns success.

SetNewAlertStatus

Description

SetNewAlertStatus is responsible for writing the New Alert Status for a specified category. It can be executed only by a Server. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category] [Num Alerts] [Alert String (Optional)]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Set New Alert Status success

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR

(-8) INVALID_STACK_ID_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Query_Supported_Categories(BluetoothStackID, ANSInstanceID, scNewAlert, &SupportedCategories)

API Prototype

int BTPSAPI ANS_Query_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t *SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to query the Supported Categories for. The final parameter is a pointer to store the Supported Categories bit mask for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a pointer to a bit mask that will be made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX, if this function returns success.

GetUnreadAlertStatus

Description

GetUnreadAlertStatus is responsible for reading the Unread Alert Status for a specified category. It can be executed only by a Server. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Get Unread Alert Status request sent

(-6) INVALID_PARAMETERS_ERROR

(-8) INVALID_STACK_ID_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Query_Supported_Categories(BluetoothStackID, ANSInstanceID, scUnreadAlertStatus, &SupportedCategories)

API Prototype

int BTPSAPI ANS_Query_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t *SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to query the Supported Categories for. The final parameter is a pointer to store the Supported Categories bit mask for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a pointer to a bit mask that will be made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX, if this function returns success.

SetUnreadAlertStatus

Description

SetUnreadAlertStatus is responsible for writing the Unread Alert Status for a specified category. It can be executed only by a Server. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category][NUM VALUES]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Set Unread Alert Status success

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR

(-8) INVALID_STACK_ID_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Query_Supported_Categories(BluetoothStackID, ANSInstanceID, scUnreadAlertStatus, &SupportedCategories)

API Prototype

int BTPSAPI ANS_Query_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t *SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to query the Supported Categories for. The final parameter is a pointer to store the Supported Categories bit mask for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a pointer to a bit mask that will be made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX, if this function returns success.

GetSupportedNewAlertCategories

Description

GetSupportedNewAlertCategories is responsible for reading the Supported New Alert Category. It can be executed by a Server or a Client with an open connection to a remote Server. If executed as a Client, a GATT read request will be generated, and the results will be returned as a response in the GATT Client event callback. This function will return zero on successful execution and a negative value on errors.

Parameters

It is not necessary to include parameters when using this command. A parameter will have no effect on the outcome.

Possible Return Values

(0) Get Supported New Alert Category Request sent, Transaction ID = %u

(-4) FUNCTION_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Query_Supported_Categories(BluetoothStackID, ANSInstanceID, scNewAlert, &SupportedCategories)

API Prototype

int BTPSAPI ANS_Query_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t *SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to query the Supported Categories for. The final parameter is a pointer to store the Supported Categories bit mask for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a pointer to a bit mask that will be made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX, if this function returns success.

SetSupportedNewAlertCategories

Description

SetSupportedNewAlertCategories is responsible for writing the Supported New Alert Category. It can be executed only by a Server. This function will return zero on successful execution and a negative value on errors.

Parameters

[BitMask (0xXXXX)]

Category(bit values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Supported New Alert Category successfully set

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Set_Supported_Categories(BluetoothStackID, ANSInstanceID, scNewAlert, SupportedCategories)

API Prototype

int BTPSAPI ANS_Set_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to set the Supported Categories for. The final parameter is the Supported Categories bit mask to set as the supported categories for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a bit mask that is made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX.

GetSupportedUnreadAlertCategories

Description

GetSupportedUnreadAlertCategories is responsible for reading the Supported Unread Alert Category. It can be executed by a Server or a Client with an open connection to a remote Server. If executed as a Client, a GATT read request will be generated, and the results will be returned as a response in the GATT Client event callback. This function will return zero on successful execution and a negative value on errors.

Parameters

It is not necessary to include parameters when using this command. A parameter will have no effect on the outcome.

Possible Return Values

(0) Get Supported Unread Alert Category Request sent, Transaction ID = %u

(-4) FUNCTION_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Query_Supported_Categories(BluetoothStackID, ANSInstanceID, scUnreadAlertStatus, &SupportedCategories)

API Prototype

int BTPSAPI ANS_Query_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t *SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to query the Supported Categories for. The final parameter is a pointer to store the Supported Categories bit mask for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a pointer to a bit mask that will be made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX, if this function returns success.

SetSupportedUnreadAlertCategories

Description

SetSupportedUnreadAlertCategories is responsible for writing the Supported Unread Alert Category. It can be executed only by a Server. This function will return zero on successful execution and a negative value on errors.

Parameters

[BitMask (0xXXXX)]

Category(bit values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message

Possible Return Values

(0) Supported Unread Alert Category successfully set

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR

(-1000) ANS_ERROR_INVALID_PARAMETER

(-1003) ANS_ERROR_INVALID_INSTANCE_ID

API Call

ANS_Set_Supported_Categories(BluetoothStackID, ANSInstanceID, scUnreadAlertStatus, SupportedCategories)

API Prototype

int BTPSAPI ANS_Set_Supported_Categories(unsigned int BluetoothStackID, unsigned int InstanceID, ANS_Supported_Categories_Type_t SupportedCategoryType, Word_t SupportedCategoriesMask)

Description of API

The following function is responsible for setting the Alert Notification Supported Categories for the specified Category Type on the specified ANS Instance. The first parameter is the Bluetooth Stack ID of the Bluetooth Device. The second parameter is the InstanceID returned from a successful call to ANS_Initialize_Server(). The next parameter specifies the Category to set the Supported Categories for. The final parameter is the Supported Categories bit mask to set as the supported categories for the specified ANS Instance. This function returns a zero if successful or a negative return error code if an error occurs.

Note: The SupportedCategoriesMask is a bit mask that is made up of bit masks of the form ANS_SUPPORTED_CATEGORIES_XXX.

EnableNewAlertNotifications

Description

EnableNewAlertNotifications is responsible for writing the Enable New Incoming Alert Notifications command to a remote Server Control Point. It can be executed only by a Client. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message, 10 = All Categories

Possible Return Values

(0) Enable New Alert Notifications command request sent.

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR


DisableNewAlertNotifications

Description

DisableNewAlertNotifications is responsible for writing the Disable New Incoming Alert Notifications command to a remote Server Control Point. It can be executed only by a Client. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message, 10 = All Categories

Possible Return Values

(0) Disable New Alert Notifications command request sent

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR


EnableUnreadAlertNotifications

Description

EnableUnreadAlertNotifications is responsible for writing the Enable Unread Category Status Notifications command to a remote Server Control Point. It can be executed only by a Client. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message, 10 = All Categories

Possible Return Values

(0) Enable Unread Category Notifications command request sent

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR


DisableUnreadAlertNotifications

Description

DisableUnreadAlertNotifications is responsible for writing the Disable Unread Category Status Notifications command to a remote Server Control Point. It can be executed only by a Client. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message, 10 = All Categories

Possible Return Values

(0) Disable Unread Category Notifications command request sent

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR


NotifyImmediatelyNewAlerts

Description

NotifyImmediatelyNewAlerts is responsible for writing the Notify New Incoming Alert Immediately command to a remote Server Control Point. It can be executed only by a Client. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message, 10 = All Categories

Possible Return Values

(0) Notify New Alert Immediately command request sent

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR


NotifyImmediatelyUnreadAlerts

Description

NotifyImmediatelyUnreadAlerts is responsible for writing the Notify New Unread Category Status Immediately command to a remote Server Control Point. It can be executed only by a Client. This function will return zero on successful execution and a negative value on errors.

Parameters

[Category]

Category(numeric values): 0 = Simple Alert, 1 = E-Mail, 2 = News, 3 = Call, 4 = Missed Call, 5 = SMS MMS, 6 = Voice Mail, 7 = Schedule, 8 = High Priority Alert, 9 = Instant Message, 10 = All Categories

Possible Return Values

(0) Notify Unread Category Immediately command request sent

(-4) FUNCTION_ERROR

(-6) INVALID_PARAMETERS_ERROR