MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / sendPirates

Function sendPirates

Control/RRLPServer.cpp:231–258  ·  view source on GitHub ↗

(pat 9-20-2013) Message recommended by doug for RLLP testing.

Source from the content-addressed store, hash-verified

229
230// (pat 9-20-2013) Message recommended by doug for RLLP testing.
231void sendPirates(L3LogicalChannel *chan)
232{
233 string bvs =
234 "0010010000010000010000000100111000000100000000000000111110000000000000000000000000000"
235 "0000000000000000000000000000000000000000000000000000000000000011011000011100101101100"
236 "1000000010000000000110111011110111010111010101011110100001110010110100101100100011011"
237 "1101010111110001111110111011110101111010100000000110000000010111111001100100001101100"
238 "0000101000010000110010010011111101100101011000100010000000011111111111110011001001111"
239 "0010000100111011011101000000000100000101001110110001100000000011000111010100000001101"
240 "0101011110011000101110001011111101111111101000110000111101110110100111011000000010000"
241 "0000000001010001000000000000000000000000000000000000000000000000000000000000000000000"
242 "0000000000000000000100011000011100101101100100000001000000000100100100100111000000000"
243 "0011100010111100111110101101011010000001101111000101110010111101111110001010100001100"
244 "0000001011010000011000000111100100100110000001010100001000011011100011100011111010101"
245 "1000100010000000100000000000000010011100111101111111010011010010011111111110111110100"
246 "1111011000000101001110011011001101001110100100111100010010011111001101100100111111110"
247 "1010010011110110011001100000000100000010001000000000110011100000000000000000000000000"
248 "0000000000000000000000000000000000000000000000000000000000000001101011001110010110110"
249 "0100000001000000000000001010010111010000000100110001100101111101011011101010110111001"
250 "0110111110000111010101000010001011001011010000000110101010110000000001001110010010100"
251 "1100110100001000011011010011101100110010101100010001000000001111111111000110001110100"
252 "0100101001011101110100011111111111111110100110101000111111001101001000100110010100000"
253 "0100010110000111001011101111010100111111110100100101110111001110010000000";
254 BitVector2 bv(bvs.c_str());
255 chan->l3sendm(L3ApplicationInformation(bv));
256 //L3Frame* resp = channel()->l2recv(130000);
257 //LOG(ALERT) << "RRLP returned " << *resp;
258}
259
260bool sendRRLP(GSM::L3MobileIdentity wMobileID, L3LogicalChannel *wLCH)
261{

Callers 1

sendRRLPFunction · 0.85

Calls 2

l3sendmMethod · 0.45

Tested by

no test coverage detected