Hello
Does any one know where will i get a user guide/manual giving description, functionality of the LOW LEVEL API'S in TIMAC-CC2530-1.3.0
Thanks in advance
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello
Does any one know where will i get a user guide/manual giving description, functionality of the LOW LEVEL API'S in TIMAC-CC2530-1.3.0
Thanks in advance
Install the MAC stack:
http://focus.ti.com/docs/toolsw/folders/print/timac.html
And take a look at this document (and the others):
C:\Texas Instruments\TIMAC-CC2530-1.3.0\Documents\mac\api\802.15.4 MAC API.pdf
Does that answer your question?
I did install the MAC stack and also looked at the pdf you mentioned , but it just explains the high level api's of the MAC
I looked at the comments and description of the low level MAC functions in the source code ,well but if theres no document as such that should just do it.
Well am working on a project that will just need the Low level of the MAC and the HAL layer , i have a few doubts regarding the some of the functions of the low level MAC
Are the rx callback functions in the mac_rx.c file in C:\Texas Instruments\TIMAC-CC2530-1.3.0\Components\mac\low_level\srf04 like an ISR or is it explicitly called ?
For sure the low level MAC modules are handling live ISR - as just one example from mac_mcu.c:
HAL_ISR_FUNCTION( macMcuRfIsr, RF_VECTOR )
is calling macCspTxIntIsr(), macCspTxStopIsr(), macRxAckTxDoneCallback(), and macRxThresholdIsr().
hie
thanks for the above information , well ive noticed that some of the callback functions eg void macRxCompleteCallback(macRx_t * pMsg); is not accessible ....is it true that you need to purchase the IAR complier to view them ??
Just open the file with a text editor:
C:\Texas Instruments\Copies\ZStack-CC2530-2.3.1-1.4.0\Components\mac\low_level\srf04\mac_rx.c
well i was talking about the body of function "macRxCompleteCallback() " which on when doing a search in the editor in the directory shows me :
[C:\Texas Instruments\TIMAC-CC2530-1.3.0\Components\mac\low_level\srf04\mac_low_level.h]
Line 130 : void macRxCompleteCallback(macRx_t * pMsg);
[C:\Texas Instruments\TIMAC-CC2530-1.3.0\Components\mac\low_level\srf04\mac_rx.c]
Line 964 : macRxCompleteCallback(pRxBuf);
[C:\Texas Instruments\TIMAC-CC2530-1.3.0\Projects\mac\libraries\cc2530\IAR\bin\Lib\macLib_cc2530-Banked.lib]
Line 57 : macRxAssocRspÿÿÿÿÍ
Line 5347 : Source: LJMP ??macRxCompleteCallback_5 & 0xFFFFs
Line 5359 : Source: LJMP ??macRxCompleteCallback_6 & 0xFFFFs
Line 11704 : macRxAssocRspÿÿÿÿÍ
Line 11828 : macRxAssocRspÿÿÿÿÍ
Line 11952 : macRxAssocRspÿÿÿÿÍ
Line 12076 : macRxAssocRspÿÿÿÿÍ
Line 12201 : macRxAssocRspÿÿÿÿÍ
Line 12325 : macRxAssocRspÿÿÿÿÍ
Line 12449 : macRxAssocRspÿÿÿÿÍ
Line 12573 : macRxAssocRspÿÿÿÿÍ
Line 12697 : macRxAssocRspÿÿÿÿÍ
Line 12821 : macRxAssocRspÿÿÿÿÍ
Line 12945 : macRxAssocRspÿÿÿÿÍ
[C:\Texas Instruments\TIMAC-CC2530-1.3.0\Projects\mac\libraries\cc2530\IAR\bin\Lib\macLib_cc2530.lib]
Line 78 : macRxAssocRspÿÿÿÿÍ
Line 5357 : Source: LJMP ??macRxCompleteCallback_5s
Line 5369 : Source: LJMP ??macRxCompleteCallback_6s
Line 11331 : macRxAssocRspÿÿÿÿÍ
Line 11456 : macRxAssocRspÿÿÿÿÍ
Line 11581 : macRxAssocRspÿÿÿÿÍ
Line 11706 : macRxAssocRspÿÿÿÿÍ
Line 11832 : macRxAssocRspÿÿÿÿÍ
Line 11957 : macRxAssocRspÿÿÿÿÍ
Line 12082 : macRxAssocRspÿÿÿÿÍ
Line 12207 : macRxAssocRspÿÿÿÿÍ
Line 12332 : macRxAssocRspÿÿÿÿÍ
Line 12457 : macRxAssocRspÿÿÿÿÍ
Line 12582 : macRxAssocRspÿÿÿÿÍ
there is no function body
i just wanted to know if the enitre source code is available or if a part of it is in object form
The function you are looking for, macRxCompleteCallback(), is part of the library, and therefore source is not provided.
Getting complete source code will involve executing a Source License Agreement (SLA) between TI and your company. Please contact your local TI sales representative for help in this process.