uracoli-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[uracoli-devel] datarate constants renamed


From: uracolix
Subject: [uracoli-devel] datarate constants renamed
Date: Tue, 11 May 2010 23:29:08 +0200
User-agent: KMail/1.9.9

Hi, 

I did the following replacements for some of the constant names: 

  RATE_CODE_* => TRX_* : represent the trx specific register value
                         e.g. RATE_CODE_BPSK20 is now TRX_BPSK20
  *_HSH       => *     : the abstract data rate enumeration value
                         e.g. BPSK20_HSH is now BPSK20
  *_STR       => *_STR : unchanged, the data rate string value for printf

So the use of the datarate functions is now more convienient: 

@transceiver level
        trx_set_datarate(BPSK20)

@radio level
        radio_set_param(RP_DATARATE(BPSK20));
        radio_set_param(RP_DATARATE(OQPSK100));

Cheers, Axel
        



reply via email to

[Prev in Thread] Current Thread [Next in Thread]