mirror of
https://github.com/RangeNetworks/openbts.git
synced 2025-10-27 18:13:38 +00:00
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6168 19bc5d8c-e614-43d4-8b26-e1612bc8e597
23 lines
602 B
C++
23 lines
602 B
C++
#include <iostream>
|
|
|
|
#include <GSML3RRMessages.h>
|
|
#include <GSMTransfer.h>
|
|
|
|
// Load configuration from a file.
|
|
ConfigurationTable gConfig("OpenBTS.config");
|
|
|
|
int main()
|
|
{
|
|
GSM::L3ApplicationInformation ai();
|
|
static const char init_request_msbased_gps[4] = {'@', '\x01', 'x', '\xa8'}; // pre encoded PER for the following XER:
|
|
static std::vector<char> request_msbased_gps(init_request_msbased_gps,
|
|
init_request_msbased_gps + sizeof(init_request_msbased_gps));
|
|
GSM::L3ApplicationInformation ai2(request_msbased_gps);
|
|
|
|
GSM::L3Frame f(ai2);
|
|
std::cout << f;
|
|
|
|
return 0;
|
|
}
|
|
|