Files
openbts/GSM/AppInfTest.cpp
Kurtis Heimerl 5289a229d9 sync of openbts
git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6168 19bc5d8c-e614-43d4-8b26-e1612bc8e597
2013-08-14 00:52:14 +00:00

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;
}