Metrologic Optimus S Programming Manual page 182

"c" programming guide
Table of Contents

Advertisement

176
"C" Programming Guide For Optimus S/R
Useful Function Call
Example Code
We also provide some simple function calls for pairing with a Bluetooth device
easily.
#include <lib_ops.h>
#include <ucos.h>
static const MENU_ENTRY PAIRING_ENTRY;
static const MENU_ENTRY DEVICELIST_ENTRY;
MENU SPP_MENU = { 2, 1, 0,
static const MENU_ENTRY PAIRING_ENTRY =
{ 0, 1, "1 Pairing", BTPairingTestMenu, 0 };
static const MENU_ENTRY DEVICELIST_ENTRY =
{ 0, 2, "2 Dev. List", FreqDevListMenu, 0 };
main()
{
while (1) prc_menu ((void*) &SPP_MENU);
}
"Bluetooth",
{ (void*) &PAIRING_ENTRY,
(void*) &DEVICELIST_ENTRY}};

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents