thanks Jeff,
Luis,
From: "Jeff Loucks" <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" <[email protected]>
To: "Palm Developer Forum" <[email protected]>
Subject: Re: getting the MAC address
Date: Thu, 8 Mar 2007 11:08:58 -0800
Here are the APIs to acquire the device MAC and info on all devices within
range. Extracted from Incs/68k/libraries/network/PalmNetServices.h:
/**
* Gets the HW address (i.e. MAC address) for the interface
*
* @param libRefNum: IN: Reference number of the library.
* @param hwAddrP: OUT: Pointer to store MAC address in.
* Must be 6 bytes in length.
*
* @retval Err Error code.
*/
Err NetServicesGetHWAddr( UInt16 libRefNum, UInt8 *hwAddrP )
SYS_TRAP(NetServicesLibTrapGetHWAddr);
/**
* Inititate a BSS scan.
* The scan completes by broadcasting a notification of
* type WIFI_SCAN_COMPLETE_EVENT.
*
* @param libRefNum: IN: Reference number of the library.
*
* @retval Err Error code.
*/
Err NetServicesStartScan( UInt16 libRefNum )
SYS_TRAP(NetServicesLibTrapStartScan);
[Jeff Loucks]
On 3/8/07, luis maldonado <[EMAIL PROTECTED]> wrote:
>
> I just
>
> 1) downloaded the netservices documentation from the pdn
> 2) reviewed the Palm overview
> 3) reviewed the data communications sections
> paying particular attention to the master library
> the http library and the html libraries
> 4) I also looked at the telephone sections with GSM and related material
> 5) I also read all of the 16 lines describing the net services API. and
> the
> sections above it
> which mentions the use of the palmwificommon.h file
>
> Unfortunately I did not see anything about how to get the MAC address
> using
> any of the
> libraries mentioned above.
>
> Sorry if I'm being so obtuse, but if any body can point me in the right
> direction where I can find a bit of sample code I'd really be very
> appreciative....
>
> Thanks again
>
> Luis
>
>
--
For information on using the ACCESS Developer Forums, or to unsubscribe,
please see http://www.access-company.com/developers/forums/
_________________________________________________________________
With tax season right around the corner, make sure to follow these few
simple tips.
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/