europelee's profile - activity

2016-01-25 05:13:43 -0700 received badge  Taxonomist
2015-06-30 23:23:52 -0700 received badge  Famous Question (source)
2015-06-14 11:05:36 -0700 marked best answer alljoyn client and service not at the same local network

hi, as i know, alljoyn apps communication with each other, its idea is : service broadcast its name, and client can find and request joinsession, at last they start msging.

so if I have a alljoynservice app on a device at home, and it connect a wireless router(also at home,as home gateway), and I have a alljoynclient app on my phone, but I stay at company, then my question is:

can i let alljoynclient connect to alljoynservice ?

thanks!

2015-03-25 01:01:45 -0700 received badge  Famous Question (source)
2015-03-02 11:55:33 -0700 received badge  Popular Question (source)
2015-03-02 11:55:33 -0700 received badge  Notable Question (source)
2015-03-02 11:55:33 -0700 received badge  Famous Question (source)
2015-02-02 02:07:01 -0700 received badge  Famous Question (source)
2014-11-13 01:27:41 -0700 answered a question the bug in FileTransferService.cc std::streamsize bufferLength on win 7 32bit : Win 7 sample FileTransferService sending file to FileTransferClient on win7 or android would make client crash

i find the problem: the bug in FileTransferService.cc std::streamsize bufferLength: bufferLength should not be std::streamsize type, we can set it int type, because when args[2].Set("ay", bufferLength, buf); it will result in Set function wrong! below QStatus MsgArg::BuildArray(MsgArg* arry, const qcc::String& elemSig, va_list* argpIn)

void* elems = va_arg(argp, void*); --- elemes would be NULL if bufferLength :std::streamsize type
2014-11-11 19:40:31 -0700 asked a question the bug in FileTransferService.cc std::streamsize bufferLength on win 7 32bit : Win 7 sample FileTransferService sending file to FileTransferClient on win7 or android would make client crash

Hi all: we build alljoyn 14.06a source. there exsits problem on using FileTranfer sample: a FileTransferService on win 7 32bit, we name it "A" a FileTransferClient on win 7 32bit or android, we name it "B"

when A send a file to B, B always crash, and A print some log: (but if we let A: a FileTransferService on android, B: a FileTransferClient on win 7 32bit A send a file to B, and B is ok, file can be recved succ ) Sent signal with Array#: 1 and returned status: ER_BUS_BAD_VALUE_TYPE. 7873.013 * ERROR ALLJOYN lepDisp ...ore\src\Message_Gen.cc:990 | MarshalMessage: SIGNAL[17] org.alljoyn.bus.samples.fileTransfer.FileTransfer: ER _BUS_BAD_VALUE_TYPE Sent signal with Array#: 2 and returned status: ER_BUS_BAD_VALUE_TYPE. 7873.013 ERROR ALLJOYN lepDisp ...ore\src\Message_Gen.cc:990 | MarshalMessage: SIGNAL[18] org.alljoyn.bus.samples.fileTransfer.FileTransfer: ER _BUS_BAD_VALUE_TYPE Sent signal with Array#: 3 and returned status: ER_BUS_BAD_VALUE_TYPE. 7873.013 ERROR ALLJOYN lepDisp ...ore\src\Message_Gen.cc:990 | MarshalMessage: SIGNAL[19] org.alljoyn.bus.samples.fileTransfer.FileTransfer: ER _BUS_BAD_VALUE_TYPE Sent signal with Array#: 4 and returned status: ER_BUS_BAD_VALUE_TYPE. 7873.013 ERROR ALLJOYN lepDisp ...ore\src\Message_Gen.cc:990 | MarshalMessage: SIGNAL[20] org.alljoyn.bus.samples.fileTransfer.FileTransfer: ER _BUS_BAD_VALUE_TYPE Sent signal with Array#: 5 and returned status: ER_BUS_BAD_VALUE_TYPE. 7873.013 * ERROR ALLJOYN lepDisp ...ore\src\Message_Gen.cc:990 | MarshalMessage: SIGNAL[21] org.alljoyn.bus.samples.fileTransfer.FileTransfer: ER _BUS_BAD_VALUE_TYPE Sent signal with Array#: 6 and returned status: ER_BUS_BAD_VALUE_TYPE. Sent end of file signal and returned status: ER_OK.

MarshalMessage's bug: QStatus _Message::MarshalMessage(const qcc::String& expectedSignature, const qcc::String& destination, AllJoynMessageType msgType, const MsgArg* args, uint8_t numArgs, uint8_t flags, uint32_t sessionId)

2014-11-04 03:32:02 -0700 received badge  Notable Question (source)
2014-09-16 13:43:32 -0700 received badge  Notable Question (source)
2014-08-20 12:58:24 -0700 received badge  Famous Question (source)
2014-07-27 05:18:53 -0700 received badge  Famous Question (source)
2014-07-14 10:05:25 -0700 received badge  Popular Question (source)
2014-07-14 10:05:25 -0700 received badge  Notable Question (source)
2014-06-25 01:40:11 -0700 received badge  Notable Question (source)
2014-06-18 05:51:25 -0700 received badge  Popular Question (source)
2014-05-24 06:45:09 -0700 received badge  Popular Question (source)
2014-05-23 20:55:12 -0700 asked a question what effect lostAdvertisedName has?

hi, use 14.02, and alljoyn-android java, my case is : a service app A, a client app B, and A push audio file to B by session-signal, while B would recv, and at the same time playing music(B has a BusSignalHandler for recving bytes sent from A, then save bytes into a buff, another thread in B code for playing music read data from buff.)

i find B often call lostAdvertisedName while B playing music(although in fact B already finish recving audio file, lostAdvertisedName has nothing effect on playing music ), and a session still exist(because I find A and B never call sessionLost), so what effect lostAdvertisedName has, it seems nothing effect?

and what trigger lostAdvertisedName, depend timeout?

2014-05-22 19:16:26 -0700 answered a question if data transfer take long time, client with buslistener would call lostAdvertisedName

hi, I use 14.02, and alljoyn-android java, my case is : a service app A, a client app B, and A push audio file to B by session-signal, while B would recv, and at the same time playing music(B has a BusSignalHandler for recving bytes sent from A, then save bytes into a mkfifo pipe) my code has another thread for playing music read bytes from the mkfifo pipe, I guess because of alljoyn thread often block on my BusSignalHandler function for saving bytes into pipe, it lead to alljoyn call LostAdvertisedName, what trigger LostAdvertisedName called in alljoyn code, depend time count?

I will try another idea

2014-05-22 19:12:46 -0700 commented answer if data transfer take long time, client with buslistener would call lostAdvertisedName

hi, I use 14.02, and alljoyn-android java, my case is : a service app A, a client app B, and A push audio file to B by session-signal, while B would recv, and at the same time playing music(B has a BusSignalHandler for recving bytes sent from A, then save bytes into a mkfifo pipe) my code has another thread for playing music read bytes from the mkfifo pipe, I guess because of alljoyn thread often block on my BusSignalHandler function for saving bytes into pipe, it lead to alljoyn call LostAdvertisedName, what trigger LostAdvertisedName called in alljoyn code, depend time count?

2014-05-22 17:41:50 -0700 received badge  Scholar (source)
2014-05-22 11:52:42 -0700 received badge  Popular Question (source)
2014-05-22 00:19:50 -0700 received badge  Editor (source)
2014-05-22 00:03:39 -0700 received badge  Enthusiast
2014-05-21 23:56:28 -0700 asked a question if data transfer take long time, client with buslistener would call lostAdvertisedName
  1. 1.1 if data transfer take long time, client with buslistener would call lostAdvertisedName, transfer by session-signal.
    and when client call lostAdvertisedName, i find service still have session, never lost, because in my code, service have SessionListener(sessionLost, sessionMemberAdded, sessionMemberRemoved), but service never call them.

1.2 I already fix it, add check ALLJOYN_JOINSESSION_REPLY_ALREADY_JOINED when joinsession, lostAdvertisedName look like nothing effect, can i igore it?
because i find when lostAdvertisedName called, client spend long time to found again and join session, it is bad, how deal with the case, such as when lostAdvertisedName called, client could call
findAdvertisedName , and this can let client quickly found again and join session?

  1. i don't understand, there busattachment has function setLinkTimeout, but my code not call it. for client: buslistener-lostAdvertisedName vs SessionListener-sessionLost, their relationship? someone can help to explain it? thanks!
2014-05-21 23:18:22 -0700 asked a question about alljoyn In the Internet of Everything across manufacturers

Although alljoyn say it can connect everything, across manufacturers, but for example use a pad control light on/off, if a client on pad is developed by one pad manufacturer A, and serivce on light is developed by another manufacturer B, so A can find service on light, but need API such as businterface provided B for controling on/off, i.e A must do some development.

Is it right? thanks.

2014-05-20 17:54:02 -0700 commented answer Using AllJoyn signals based session problems

hi, thank you for your help. in fact, i need sending big data from sender to recver as fast as possible, recver can recv and do audio/video streaming play(i use gstreamer), before i use raw session, it is ok, but i don't like the solution, so i try sessionsignal, and i need consider the above problem, as general, in socket programing, i would let sender blocks on sending, or sender take the outdated data into a tmp buff or file then try sending again next time, but i dont know the way deal with processing the above problem by sessionsignal of alljoyn

2014-05-14 18:24:38 -0700 received badge  Notable Question (source)
2014-05-12 18:16:14 -0700 asked a question Using AllJoyn signals based session problems

Hi, AllJoyn signals based session is different from busmethod, it is asyn, so if a sender send msg very fast, and recver recv msg with signalhandler very slowly, then may happen data buffer are filled full on bus or tcp layer, and sender how find the problem, could slow its send speed?

2014-04-28 20:25:55 -0700 received badge  Popular Question (source)
2014-04-24 04:31:28 -0700 asked a question the latest alljoyn support ICE?

hi, I want to implement a alljoyn app on wlan to connect another alljoyn app on lan, I remember there is a rendezvous server on connect.alljoyn.org ago. But it is removed now?