Revision 277, 0.6 KB
(checked in by wrodgers, 15 years ago)
|
Updating SML functionality
|
Rev | Line | |
---|
[277] | 1 | /* Virginia Tech Cognitive Radio Open Source Systems |
---|
| 2 | * Virginia Tech, 2009 |
---|
| 3 | * |
---|
| 4 | * TODO LICENSE INFORMATION GOES HERE |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | /* TODO DESCRIPTION OF FILE. |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | #include <cstdlib> |
---|
| 12 | #include <stdint.h> |
---|
| 13 | |
---|
| 14 | #include "../../trunk/src/include/vtcross/components.h" |
---|
| 15 | #include "../../trunk/src/include/vtcross/socketcomm.h" |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | int32_t |
---|
| 19 | main(int32_t argc, char *argv[]) |
---|
| 20 | { |
---|
| 21 | |
---|
| 22 | ServiceManagementLayer SML(argv[1], argv[2]); |
---|
| 23 | |
---|
| 24 | SML.StartSMLServer(); |
---|
| 25 | |
---|
| 26 | /*char buffer[256]; |
---|
| 27 | memset(buffer, 0, 256); |
---|
| 28 | SendMessage(socketComm, "send_component_type"); |
---|
| 29 | memset(buffer, 0, 256); |
---|
| 30 | ReadMessage(socketComm, buffer); |
---|
| 31 | printf("%s\n", buffer);*/ |
---|
| 32 | return 0; |
---|
| 33 | } |
---|