Error in OSGi console [message #1741142] |
Tue, 23 August 2016 10:36 |
Trung Luu Messages: 32 Registered: June 2016 |
Member |
|
|
Hi all,
I'm currently running OM2M on Linux Debian, when I want to type an URI of get Notification on the OSGi console with the code:
String addr2 = "/" + CSE_ID + "/" + CSE_NAME + "/" + actuatorId + "/" + DATA2;
Subscription sub2 = new Subscription();
Scanner key2 = new Scanner(System.in);
System.out.println("insert getNotification IP address: ");
String a2 = key2.nextLine();
System.out.println(a2);
//String a2 = "http://127.0.0.1:1402/monitor2";
sub2.getNotificationURI().add(a2);
sub2.setNotificationContentType(BigInteger.valueOf(2));
RequestSender.createSubscription(addr2,SUB2,sub2);
The error shows that the command is not found as the figure below:
Does anyone used to solve this problem? Thanks in advanced!
[Updated on: Tue, 23 August 2016 10:37] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04841 seconds