27 #ifndef INCLUDED_GR_BLUETOOTH_PICONET_H 28 #define INCLUDED_GR_BLUETOOTH_PICONET_H 39 friend class base_rate_piconet;
43 std::vector<packet::sptr> d_pkt_queue;
46 typedef boost::shared_ptr<piconet>
sptr;
50 virtual int init_hop_reversal(
bool aliased) = 0;
53 virtual char hop(
int clock) = 0;
56 virtual char aliased_channel(
char channel) = 0;
59 virtual void reset() = 0;
70 typedef boost::shared_ptr<basic_rate_piconet>
sptr;
80 static sptr make(uint32_t LAP);
83 static const int SEQUENCE_LENGTH = 134217728;
86 virtual int winnow(
int offset,
char channel) = 0;
89 virtual int winnow() = 0;
92 virtual uint32_t get_offset() = 0;
93 virtual void set_offset(uint32_t offset) = 0;
96 virtual uint8_t get_UAP() = 0;
97 virtual void set_UAP(uint8_t uap) = 0;
100 virtual uint16_t get_NAP() = 0;
101 virtual void set_NAP(uint16_t nap) = 0;
107 virtual bool have_UAP() = 0;
108 virtual bool have_NAP() = 0;
109 virtual bool have_clk6() = 0;
110 virtual bool have_clk27() = 0;
116 virtual int init_hop_reversal(
bool aliased) = 0;
119 virtual char hop(
int clock) = 0;
122 virtual char aliased_channel(
char channel) = 0;
125 virtual void reset() = 0;
130 typedef boost::shared_ptr<low_energy_piconet>
sptr;
140 static sptr make(
const uint32_t aa);
146 virtual int init_hop_reversal(
bool aliased) = 0;
149 virtual char hop(
int clock) = 0;
152 virtual char aliased_channel(
char channel) = 0;
155 virtual void reset() = 0;
boost::shared_ptr< classic_packet > sptr
Definition: packet.h:169
boost::shared_ptr< basic_rate_piconet > sptr
Definition: piconet.h:70
#define GR_BLUETOOTH_API
Definition: api.h:30
boost::shared_ptr< low_energy_piconet > sptr
Definition: piconet.h:130
Definition: multi_block.h:33
boost::shared_ptr< packet > sptr
Definition: packet.h:52
Definition: piconet.h:128
boost::shared_ptr< piconet > sptr
Definition: piconet.h:46