User cloud messaging between Halocode and Sprite


#1

Hi All,

As the subject says, I want to use user cloud message between halocode and sprite. From documentation the prequisite is login to mblock account and connect to wifi for the halocode. However, it seems the message broadcasting not always work. In fact most of the time doesn’t work.
Any advice is appreciated.
Thank you.

Regards,
Anzar


#2

Hello apradityo,

Personally, I have 4 halocodes and this is not usual behavior. Let’s go there by step:

  1. Reset the “Firmware Update” when you are connected;
    check
  2. The connection to your account is used to program and to have access to the instructions because once download, the halocode is autonomous. So if you managed to download the code, you are correct.
  3. Test a simple code.
  4. Pay attention to the instruction you use. I always use “Broadcast with value”, maybe the other “Broadcast” instruction is capricious?
    block

#3

A resolution in 2 posts, if the problem is still present?

  1. Makeblock service is unstable;
  2. The WIFI connection is installable;

Problem # 1 is virtually impossible to find without Makeblock. Problem number # 2 is easier. Create a direct WIFI connection to check that the WIFI chip is working correctly. If you have any difficulty, I’ll make you some code.

  • If not stable, one or more of the halocodes are capricious (see with makeblock)
  • If stable, create a code with WIFI reconnection. If it’s stable then it’s temporary because of the Makeblock service, otherwise it’s your WIFI router. I seem to have seen a user with this problem.

There … I am waiting to hear from you.


#4

Hi Crackel,

Appreciate on your fast response. I have updated the firmware even I saw it has latest fw already. I changed the broadcast using value.

First attempt, still not working… then I’m not sure what I did, it became working… restarted halocode, still working… then I restarted my laptop, then aha… not working anymore.

was it my internet? then I tried the speech recognition, seems no issue. so I assume the internet was fine.

Then I started to think, perhaps the issue is not on the halocode, but the cloud broadcasting from the sprite/stage might be the problem. As you mentioned, you don’t have issue broadcasting between halocode. I don’t have 2nd device currently. Let me try if I have multiple devices.

Thanks.

Regards,
Anzar


#5

Hi apradityo,

You only have one Halocode but I reassure you: Between Halocode and Codey or PC or between 2 PCs, everything was working fine. I admit that it’s been a few months since I have not tested but I am convinced that Halocodes is a priority for Makeblock because they are currently on a Kickstarter which uses them.
Kickstarter (Unfortunately, it’s too expensive for me in Canada)

I suggest putting your house WIFI aside and checking if you can use a phone’s internet sharing. I don’t know what country you live in but if you have another WIFI, you have to use it.

Finally, tell me more about your environment: Linux, Chromebook, Windows, Local Interface or Web Inetrface with mLink ???


#6

I’m using windows and windows mblock application. I’ll let you know the result with other internet connections.
Thank you


#7

I have tried using phone’s internet. It seems I got similar results… meaning one time it works, other doesn’t.

If I understand correctly the user cloud service is identified by the mblock account. That’s why you need to login to the account so the broadcasting will send messages to same user cloud service. Is this correct? If yes, the question is, how does the halocode know which user cloud service it should send the message to? We don’t program it. Or the account credential (or cloud key?) is implicitly uploaded and used in halocode?

Regards,
Anzar


#8

Hi apradityo,

It’s not as responsive as a Playstation but it’s fun. You have to press 1 second or half a second but it works.
Sprite


Halocode
Halo
Code
HaloSprite.zip (74,9 Ko)


#9

Hi apradityo,

To answer your question: How does the Halocode know your Makeblock account.
It’s probably with this code:

I try to understand the principle in another Post

If it’s by :joy:


#10

Hi apradityo,

I will try to compare the Direct Wifi from the Cloud … In my opinion, it will be more responsive.

Sprite
Sprite
Halocode


Code
HaloSprite.zip (75,0 Ko)


#11

Hi
I found how Makeblock works for sprite interaction.
Makeblock does not go through the Cloud but in LIVE mode (USB).

Gamepad


#12

If you are signed it when you upload the code to Halocode, the cloud service authorization is automatically entered. I think.


#13

I believe that is the principle but I will try to understand better. Then I will post on the forum an explanation more implicate