Increase number of slots

163 views
Skip to first unread message

guyc

unread,
Jun 24, 2015, 5:25:20 PM6/24/15
to sou...@googlegroups.com

I know it is possible to increase the number of slots within a node.

In MaCacoCfg.h, I found :


Nodes        Slots                                   
                    30            35
                    45            24            (Default)
                    70            4

I will reduce the number of nodes to around 10 and increase the slot to 50/node or more

How can I define this is a sketch ?
I tried this :

#define MAX_PAYLOAD_INSKETCH   10

 but didn' t work.

thanks for the support

Di Maio, Dario

unread,
Jun 24, 2015, 5:30:29 PM6/24/15
to sou...@googlegroups.com
Hi, these are global setting that applied to all nodes in your network. So change them directly in that configuration file.

Dario.

--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/e8954cbf-80f6-4af6-85de-df718b0c277c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

guy caluwaerts

unread,
Jun 24, 2015, 5:37:22 PM6/24/15
to sou...@googlegroups.com
Dario,
thanks for the answer.
If I decrease the payload to 10, are the slots then automatically increased ?
guy


From: "Di Maio, Dario" <dario....@souliss.net>
To: "sou...@googlegroups.com" <sou...@googlegroups.com>
Sent: Wednesday, June 24, 2015 11:30 PM
Subject: Re: [souliss] Increase number of slots

You received this message because you are subscribed to a topic in the Google Groups "souliss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/souliss/wao9omyxedQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to souliss+u...@googlegroups.com.

To post to this group, send email to sou...@googlegroups.com.

Di Maio, Dario

unread,
Jun 24, 2015, 5:38:40 PM6/24/15
to sou...@googlegroups.com
No, you have to set the two values manually and ensure that you don't exceed the contrains reported in the description that you have quoted previously.

Dario.

guy caluwaerts

unread,
Jun 25, 2015, 2:10:55 AM6/25/15
to sou...@googlegroups.com
Where can I find some information how to do it ?

Sent: Wednesday, June 24, 2015 11:38 PM

Juan Pinto

unread,
Jun 25, 2015, 11:51:03 AM6/25/15
to sou...@googlegroups.com, guycal...@yahoo.com
You need to take a look from this line: (please read carefully)
 
Anyway, Following the table you posted before:
Nodes        Slots                                    
   30            35
   45            24            (Default)
   70            4
 
You need to modifiy this lines:
and
 
With the values from the table you posted before or other but you need to take care about this constrain:
 
# define MaCaco_SLOT 24    //can be MAX 41 (46-5).

 

You can configure it with 10 NODES and 41 SLOTS Maximun (please Dario confirm that)
 
Regards

guyc

unread,
Jun 25, 2015, 3:37:10 PM6/25/15
to sou...@googlegroups.com, guycal...@yahoo.com


Juan,
Many thanks for the support.

I did the test on 2 ways :

1. modify thenumber of nodes and slots within MaCacoCFG.h file :  nodes 10, slots 41  : result OK

2. with the original MaCacoCFG.h and define insketch :
         // define max number of slots
         #define MaCacoNODESIZE_INSKETCH
         #define MaCaco_NODES  10
         #define MaCaco_SLOT   41

      This seems not to work.


guy

Juan Pinto

unread,
Jun 25, 2015, 4:43:36 PM6/25/15
to sou...@googlegroups.com
You have an error on the first define, try with:
#define MaCaco_NODESIZE_INSKETCH

;) Regards

--
You received this message because you are subscribed to a topic in the Google Groups "souliss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/souliss/wao9omyxedQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.

Juan Luis

unread,
Apr 12, 2016, 11:02:52 AM4/12/16
to souliss
Hi, 
I have a doubt about the maximum number Slots configured in MaCacoCfg.h

 #define MaCaco_NODES  10
  #define MaCaco_SLOT   41


I assume that "Nodes" are the maximum number of Nodes in the network, but "slots" means per node or adding the slots of all nodes?

Thanks

Juan Luis

unread,
Apr 12, 2016, 11:05:36 AM4/12/16
to souliss
I answer to myself. 
It should be "per node"

guyc

unread,
Apr 12, 2016, 11:50:32 AM4/12/16
to souliss
in your sketch :


// define max number of slots
#  define VNET_MAX_PAYLOAD_INSKETCH
#  define VNET_MAX_PAYLOAD   66
#  define MaCaco_NODESIZE_INSKETCH
#  define MaCaco_NODES     10                        // Number of remote nodes
#  define MaCaco_SLOT      41                          // number of slot/node


Op dinsdag 12 april 2016 17:05:36 UTC+2 schreef Juan Luis:

Juan Luis

unread,
Apr 12, 2016, 12:02:25 PM4/12/16
to souliss
Does number nodes/slots affect to VNET_MAX_PAYLOAD ? 
I used to think not

Di Maio, Dario

unread,
Apr 12, 2016, 2:44:33 PM4/12/16
to sou...@googlegroups.com
Hi, 

slots are per node, so your network can have up to 410 slots over 10 nodes.

Regards,
Dario.

--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.

To post to this group, send email to sou...@googlegroups.com.

Di Maio, Dario

unread,
Apr 12, 2016, 2:46:30 PM4/12/16
to sou...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.

Juan Luis

unread,
Apr 12, 2016, 4:05:33 PM4/12/16
to souliss
Thanks guyc and Dario.

Niels

unread,
Sep 19, 2021, 1:00:19 PM9/19/21
to souliss

Dear guyc, Dario and Juan

I’d like to pick up this conversation with a specific question referring the implementation of the final code-adjustments ( towards nodes 10, slots 41):

1. I understand I can use the original MaCacoCFG.h file and change the corresponding lines to nodes 10, slots 41 to make this working (this has been already confirmed priorly). This can be seen as a ‘global solution’  to change number of slots/modes – no matter what sketch I gonna use.

 2. There should be also a way to do this “insketch”  (which will restore the default values for slot/nodes whenever uploading a different sketch without these specific lines…)

                               Given lines to do do so are


                               // define max number of slots

                               #  define VNET_MAX_PAYLOAD_INSKETCH
                               #  define VNET_MAX_PAYLOAD   66
                               #  define MaCaco_NODESIZE_INSKETCH
                               #  define MaCaco_NODES     10                        // Number of remote nodes
                               #  define MaCaco_SLOT      41                          // number of slot/node

 
My Question: On which exact position ” insketch “  will I have to place these lines to make the Slot/note adaption work?


Thanks in advance!

Niels

Reply all
Reply to author
Forward
0 new messages